Skip to content

Commit

Permalink
fix(dracut-systemd): correct service dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dtardon authored and johannbg committed Mar 17, 2022
1 parent 3506476 commit 85fdff1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules.d/98dracut-systemd/dracut-shutdown.service
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 85fdff1

Please sign in to comment.