Skip to content

Commit

Permalink
overlay/coreos-copy-firstboot-network: order before ignition-kargs
Browse files Browse the repository at this point in the history
We've seen races with ignition-kargs.service, which accesses /boot rw.
Let's introduce some ordering here. Need to use `Before` because otherwise
we get a systemd ordering cycle.

Fixes: coreos/fedora-coreos-tracker#883
  • Loading branch information
dustymabe committed Jul 9, 2021
1 parent 2dffb3c commit 170176c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ After=coreos-multipath-wait.target
# hook which will generate NM configs from the network kargs, but we want to
# have precedence.
After=coreos-enable-network.service
# We've seen races with ignition-kargs.service, which accesses /boot rw.
# Let's introduce some ordering here. Need to use `Before` because otherwise
# we get a systemd ordering cycle. https://github.com/coreos/fedora-coreos-tracker/issues/883
Before=ignition-kargs.service

[Service]
Type=oneshot
Expand Down

0 comments on commit 170176c

Please sign in to comment.