diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-07-29 16:30:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-07-29 16:32:45 +0200 |
commit | b89f5f7b038c1b2a5f8035d6f992360e3319b215 (patch) | |
tree | f6955ec0c6b3c435afe4de066764b812774f8989 /units/initrd-switch-root.target | |
parent | units: upgrade initrd check Conditions to Asserts (diff) | |
download | systemd-b89f5f7b038c1b2a5f8035d6f992360e3319b215.tar.xz systemd-b89f5f7b038c1b2a5f8035d6f992360e3319b215.zip |
units: downgrade Requires= to Wants=
Combining Requires= with Before= doesn't really make sense, since this
means we are requiring something that runs after us, which logically
cannot be fulfilled.
Let's hence downgrade Requires= to Wants= so that the ordering is kept
but no failure propagation implied.
Diffstat (limited to 'units/initrd-switch-root.target')
-rw-r--r-- | units/initrd-switch-root.target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/initrd-switch-root.target b/units/initrd-switch-root.target index 2723b5af7f..32ff40a3f6 100644 --- a/units/initrd-switch-root.target +++ b/units/initrd-switch-root.target @@ -11,7 +11,7 @@ Description=Switch Root AssertPathExists=/etc/initrd-release DefaultDependencies=no -Requires=initrd-switch-root.service +Wants=initrd-switch-root.service Before=initrd-switch-root.service AllowIsolate=yes Wants=initrd-udevadm-cleanup-db.service initrd-root-fs.target initrd-fs.target systemd-journald.service initrd-cleanup.service |