From: Luca Boccassi Date: Mon, 8 Jul 2024 15:23:06 +0000 (+0100) Subject: fsck: do not pull down mount units on soft-reboot X-Git-Tag: v257-rc1~935 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb0b72849ebbeeb8e252d9aeed94521df4f0ae8;p=thirdparty%2Fsystemd.git fsck: do not pull down mount units on soft-reboot Otherwise they will pull down the disk too, which we don't want on soft-reboot --- diff --git a/units/systemd-fsck@.service.in b/units/systemd-fsck@.service.in index 65521b1087b..8eb4821d41f 100644 --- a/units/systemd-fsck@.service.in +++ b/units/systemd-fsck@.service.in @@ -12,7 +12,8 @@ Description=File System Check on %f Documentation=man:systemd-fsck@.service(8) DefaultDependencies=no BindsTo=%i.device -Conflicts=shutdown.target +IgnoreOnIsolate=yes +Conflicts=reboot.target kexec.target poweroff.target halt.target After=%i.device systemd-fsck-root.service local-fs-pre.target Before=systemd-quotacheck.service shutdown.target