From bbb0b72849ebbeeb8e252d9aeed94521df4f0ae8 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 8 Jul 2024 16:23:06 +0100 Subject: [PATCH] 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 --- units/systemd-fsck@.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/units/systemd-fsck@.service.in b/units/systemd-fsck@.service.in index 65521b1087..8eb4821d41 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 -- 2.25.1