From: David Tardon Date: Mon, 14 Mar 2022 09:48:44 +0000 (+0100) Subject: fix(dracut-systemd): correct service dependencies X-Git-Tag: 057~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85fdff1212e708d335f035926f3c2a6b87bb1c3c;p=thirdparty%2Fdracut.git fix(dracut-systemd): correct service dependencies dracut-systemd.service is not an early boot service, therefore it should not use DefaultDependencies=no. This also fixes the service's ordering dependencies, as in its current state it is missing Before=shutdown.target umount.target --- diff --git a/modules.d/98dracut-systemd/dracut-shutdown.service b/modules.d/98dracut-systemd/dracut-shutdown.service index 7c36f14f4..dd4cf81e7 100644 --- a/modules.d/98dracut-systemd/dracut-shutdown.service +++ b/modules.d/98dracut-systemd/dracut-shutdown.service @@ -7,8 +7,6 @@ Description=Restore /run/initramfs on shutdown Documentation=man:dracut-shutdown.service(8) After=local-fs.target boot.mount boot.automount Wants=local-fs.target -Conflicts=shutdown.target umount.target -DefaultDependencies=no ConditionPathExists=!/run/initramfs/bin/sh OnFailure=dracut-shutdown-onfailure.service