[systemd-commits] units/systemd-fsck-root.service.in units/systemd-fsck at .service.in

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Thu Aug 15 12:42:59 PDT 2013


 units/systemd-fsck-root.service.in |    4 ++--
 units/systemd-fsck at .service.in     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit d0a2d726f0b6a02077c178d446f89839be474d41
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Thu Aug 15 15:07:57 2013 -0400

    units: make fsck units remain after exit
    
    Without this, fsck would be re-run if any other service which pulls
    in a target requiring one of the mounts was started after fsck was done
    but before the initial transaction was done.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=66784

diff --git a/units/systemd-fsck-root.service.in b/units/systemd-fsck-root.service.in
index 563129b..4388314 100644
--- a/units/systemd-fsck-root.service.in
+++ b/units/systemd-fsck-root.service.in
@@ -7,7 +7,7 @@
 
 [Unit]
 Description=File System Check on Root Device
-Documentation=man:systemd-fsck at .service(8)
+Documentation=man:systemd-fsck-root.service(8)
 DefaultDependencies=no
 After=systemd-readahead-collect.service systemd-readahead-replay.service
 Before=local-fs.target shutdown.target
@@ -16,7 +16,7 @@ ConditionPathIsReadWrite=!/
 
 [Service]
 Type=oneshot
-RemainAfterExit=no
+RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-fsck
 StandardOutput=journal+console
 FsckPassNo=1
diff --git a/units/systemd-fsck at .service.in b/units/systemd-fsck at .service.in
index b3c71eb..e229cdc 100644
--- a/units/systemd-fsck at .service.in
+++ b/units/systemd-fsck at .service.in
@@ -15,7 +15,7 @@ Before=shutdown.target
 
 [Service]
 Type=oneshot
-RemainAfterExit=no
+RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-fsck %f
 StandardOutput=journal+console
 TimeoutSec=0



More information about the systemd-commits mailing list