From b93562a1a13af0d7fa6c03e384a00eaab647791b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 30 Sep 2022 16:05:54 +0200 Subject: [PATCH] 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. --- units/proc-sys-fs-binfmt_misc.automount | 1 + 1 file changed, 1 insertion(+) 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