Skip to content

Commit

Permalink
OCPBUGS-27162: Add dependency on crio-wipe to resolv-prepender
Browse files Browse the repository at this point in the history
Because resolv-prepender can run very early in boot and it pulls an
image, it can interfere with the functioning of the crio-wipe service
after an unclean shutdown (such as a power outage). To avoid this,
we can add a dependency to ensure crio-wipe will always complete
before we start resolv-prepender.
  • Loading branch information
cybertron committed Jan 25, 2024
1 parent 3d833c0 commit 1b025b4
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -4,6 +4,8 @@ enabled: false
contents: |
[Unit]
Description=Populates resolv.conf according to on-prem IPI needs
# Per https://issues.redhat.com/browse/OCPBUGS-27162 there is a problem if this is started before crio-wipe
After=crio-wipe.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/resolv-prepender.sh
Expand Down

0 comments on commit 1b025b4

Please sign in to comment.