Skip to content

Commit

Permalink
35coreos-multipath: add Before=initrd-parse-etc.service in coreos-pro…
Browse files Browse the repository at this point in the history
…pagate-multipath-conf.service

Otherwise, we'll end up racing with `initrd-cleanup.service` which wants
to kill everything. It has `After=initrd.target` and we do have
`Before=initrd.target`, but that's not being respected, we think because
`initrd-parse-etc.service` does an explicit `systemctl start` on it.

Anyway, we need to dig more into this, but for now this will unblock us.
  • Loading branch information
jlebon authored and dustymabe committed Jul 9, 2021
1 parent e987b61 commit 99ecca7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Before=initrd.target
# we write to the rootfs, so run after it's ready
After=initrd-root-fs.target

# That service starts initrd-cleanup.service which will race with us completing
# before we get nuked. Need to get to the bottom of it, but for now we need
# this (XXX: add link to systemd issue here).
Before=initrd-parse-etc.service

ConditionKernelCommandLine=rd.multipath=default

OnFailure=emergency.target
Expand Down

0 comments on commit 99ecca7

Please sign in to comment.