Skip to content

Commit

Permalink
coreos-propagate-multipath-conf: run After=initrd-root-fs.target
Browse files Browse the repository at this point in the history
We should only copy to the sysroot's `/etc` after we're sure it's all
set up. This is marked by `initrd-root-fs.target`.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1974411
  • Loading branch information
jlebon committed Jun 29, 2021
1 parent 4d96eaa commit 1c0ca68
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[Unit]
Description=CoreOS Propagate Multipath Configuration
After=ostree-prepare-root.service
Before=initrd.target

# we write to the rootfs, so run after it's ready
After=initrd-root-fs.target

ConditionKernelCommandLine=rd.multipath=default

OnFailure=emergency.target
Expand Down

0 comments on commit 1c0ca68

Please sign in to comment.