]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(dracut-systemd): correct service dependencies
authorDavid Tardon <dtardon@redhat.com>
Mon, 14 Mar 2022 09:48:44 +0000 (10:48 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 17 Mar 2022 05:30:27 +0000 (05:30 +0000)
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

modules.d/98dracut-systemd/dracut-shutdown.service

index 7c36f14f44217d29c898090f534609f2442e7716..dd4cf81e736fbdefefaeda669b2b2a791ab0f0c3 100644 (file)
@@ -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