From: Zbigniew Jędrzejewski-Szmek Date: Fri, 30 Sep 2022 14:05:54 +0000 (+0200) Subject: units: make sure proc-sys-binfmt_misc.automount is actually stopped X-Git-Tag: v254-rc1~411^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b93562a1a13af0d7fa6c03e384a00eaab647791b;p=thirdparty%2Fsystemd.git units: make sure proc-sys-binfmt_misc.automount is actually stopped As with other units, stopping of the automount requires actual work, and without the ordering dependency systemd might not execute the stop job before shutdown.target is reached and units ordered after that are executed. --- diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount index 41396f92991..5d212015a5a 100644 --- a/units/proc-sys-fs-binfmt_misc.automount +++ b/units/proc-sys-fs-binfmt_misc.automount @@ -18,6 +18,7 @@ ConditionPathIsReadWrite=/proc/sys/ DefaultDependencies=no Before=sysinit.target Conflicts=shutdown.target +Before=shutdown.target [Automount] Where=/proc/sys/fs/binfmt_misc