From b89f5f7b038c1b2a5f8035d6f992360e3319b215 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 29 Jul 2020 16:30:28 +0200 Subject: [PATCH] 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. --- units/initrd-switch-root.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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