Skip to content

Commit

Permalink
dracut/30ignition: link to RHBZ in ignition-complete
Browse files Browse the repository at this point in the history
We shouldn't actually need to do `OnFailure=emergency.target` in
`ignition-complete.service` here. Our unit is already a requirement of
`initrd.target`, and so once we fail, `initrd.target` should fail, which
in turn should trigger *its* `OnFailure=emergency.target`.

However, this doesn't work in f29/el8:
https://bugzilla.redhat.com/show_bug.cgi?id=1696796

Add a comment about that.

See also: coreos#61
  • Loading branch information
jlebon committed Apr 5, 2019
1 parent 0019df3 commit 549002e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dracut/30ignition/ignition-complete.target
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
Description=Ignition Complete
Before=initrd.target

# Make sure if any ExecStart= fail, the boot fails
# Make sure if any ExecStart= fail, the boot fails. This normally would
# already be guaranteed by `initrd.target` failing, but that doesn't seem to be
# enough: https://bugzilla.redhat.com/show_bug.cgi?id=1696796
OnFailure=emergency.target
OnFailureJobMode=isolate

Expand Down

0 comments on commit 549002e

Please sign in to comment.