]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fsck: do not pull down mount units on soft-reboot
authorLuca Boccassi <bluca@debian.org>
Mon, 8 Jul 2024 15:23:06 +0000 (16:23 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 9 Jul 2024 18:59:35 +0000 (20:59 +0200)
Otherwise they will pull down the disk too, which we don't want on soft-reboot

units/systemd-fsck@.service.in

index 65521b1087b81a03d591b7cb52642d0b25a80116..8eb4821d41f5e528384ff0142577fe09ef46fa99 100644 (file)
@@ -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