diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-04 19:01:05 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-13 08:11:17 +0100 |
commit | 700e07ffd53083114e91bb4ba646ed26d0463f67 (patch) | |
tree | 85ccb2c53db4c88bd931f873e7c547143a110e4c /units/initrd-cleanup.service.in | |
parent | 783162123dbac43d5b7a3fab9d4f11dcf86d06e1 (diff) |
add initrd-fs.target and root-fs.target
Instead of using local-fs*.target in the initrd, use root-fs.target for
sysroot.mount and initrd-fs.target for /sysroot/usr and friends.
Using local-fs.target would mean to carry over the activated
local-fs.target to the isolated initrd-switch-root.target and thus in
the real root. Having local-fs.target already active after
deserialization causes ordering problems with the real root services and
targets.
We better isolate to targets for initrd-switch-root.target, which are
only available in the initrd.
Diffstat (limited to 'units/initrd-cleanup.service.in')
-rw-r--r-- | units/initrd-cleanup.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/initrd-cleanup.service.in b/units/initrd-cleanup.service.in index e926a1eec2..5bef090e08 100644 --- a/units/initrd-cleanup.service.in +++ b/units/initrd-cleanup.service.in @@ -10,8 +10,8 @@ Description=Cleaning Up and Shutting Down Daemons DefaultDependencies=no ConditionPathExists=/etc/initrd-release OnFailure=emergency.target -Requires=local-fs.target swap.target -After=local-fs.target swap.target +Wants=root-fs.target initrd-fs.target +After=root-fs.target initrd-fs.target [Service] Type=oneshot |