Skip to content

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 3, 2025

Anything using ConditionFirstBoot=true really wants Before=first-boot-complete.target too. Otherwise they run the risk of running again on reboot.

Likely fixes coreos/rhel-coreos-config#66.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request correctly adds Before=first-boot-complete.target and Wants=first-boot-complete.target to two systemd services that use ConditionFirstBoot=true. This prevents a race condition and ensures they only run on the first boot, as intended. My feedback focuses on improving the accompanying comments to more accurately reflect the changes and systemd best practices, enhancing maintainability.

Anything using ConditionFirstBoot=true really wants
Before=first-boot-complete.target too. Otherwise they run the risk of
running again on reboot.

Likely fixes coreos/rhel-coreos-config#66.
@jlebon jlebon force-pushed the pr/firstboot-multipath branch from 0b4fb7f to 4efc0be Compare September 3, 2025 19:34
Copy link
Member

@joelcapitao joelcapitao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlebon jlebon merged commit abd0c18 into coreos:main Sep 22, 2025
5 of 6 checks passed
@jlebon jlebon deleted the pr/firstboot-multipath branch September 22, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multipath.partition failing on el10

2 participants