Skip to content

Commit

Permalink
ignition-setup-user.service: run before multipathd
Browse files Browse the repository at this point in the history
This is required because the unit needs read-only access to `/boot` in
order to extract any baked in user-provided config and multipathd might
claim ownership.

See: coreos#183
  • Loading branch information
jlebon committed May 19, 2020
1 parent 142bfda commit 1d34fc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dracut/30ignition/ignition-setup-user.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Before=ignition-complete.target
# Stage order: setup -> fetch -> disks -> mount -> files.
Before=ignition-fetch.service

# We want to make sure we're not racing with multipath taking ownership of the
# boot device.
Before=multipathd.service

# On diskful boots, ignition-generator adds Requires/After on
# dev-disk-by\x2dlabel-boot.device.

Expand Down

0 comments on commit 1d34fc2

Please sign in to comment.