aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-15 23:09:56 -0400
committerBill Nottingham <notting@redhat.com>2010-10-15 23:09:56 -0400
commit2d238bd89255740f308f51a50b4cfae2c713293f (patch)
treefcf3eb53dd78e5731e3b0f83d3169c5b2bed6925
parent2811a2c7d76aca4ef10c8d5e9fcee18204e6ede8 (diff)
downloadinitscripts-2d238bd89255740f308f51a50b4cfae2c713293f.tar
initscripts-2d238bd89255740f308f51a50b4cfae2c713293f.tar.gz
initscripts-2d238bd89255740f308f51a50b4cfae2c713293f.tar.bz2
initscripts-2d238bd89255740f308f51a50b4cfae2c713293f.tar.xz
initscripts-2d238bd89255740f308f51a50b4cfae2c713293f.zip
Don't have sysinit be after local-fs, that way lie loops.
Assume https://bugs.freedesktop.org/show_bug.cgi?id=30913 will be fixed in systemd.
-rw-r--r--systemd/system/fedora-cleanup.service2
-rw-r--r--systemd/system/sysinit.service5
2 files changed, 2 insertions, 5 deletions
diff --git a/systemd/system/fedora-cleanup.service b/systemd/system/fedora-cleanup.service
index 127fab64..3bbb12df 100644
--- a/systemd/system/fedora-cleanup.service
+++ b/systemd/system/fedora-cleanup.service
@@ -2,7 +2,7 @@
Description=Clean out assorted temporary files
DefaultDependencies=no
Conflicts=shutdown.target
-Before=shutdown.target emergency.service emergency.target
+Before=shutdown.target emergency.service emergency.target local-fs.target
After=fedora-mountall.service fedora-readonly.service
Requires=fedora-mountall.service
diff --git a/systemd/system/sysinit.service b/systemd/system/sysinit.service
index 9b0ccf77..54e9ffac 100644
--- a/systemd/system/sysinit.service
+++ b/systemd/system/sysinit.service
@@ -1,13 +1,10 @@
-
[Unit]
-Description=System Initialization
+Description=System initialization placeholder
DefaultDependencies=no
Conflicts=shutdown.target
Before=shutdown.target emergency.service emergency.target
-After=local-fs.target
[Service]
ExecStart=/bin/true
Type=oneshot
-TimeoutSec=0
RemainAfterExit=yes