Skip to content

Conversation

@gsanchietti
Copy link
Member

@gsanchietti gsanchietti commented Oct 30, 2025

This pull request introduces configuration changes to the initialization scripts for keepalived and DHCP handling, primarily affecting service startup behavior and process control logic.

Service startup and configuration logic updates:

  • Changed the default value of the enabled flag in the keepalived initialization script (keepalived.init) from 1 (enabled) to 0 (disabled), so the service will not start unless explicitly enabled.

DHCP and process control improvements:

  • Updated the conditional logic in the DHCP force script (500-dhcp-force) to only stop dnsmasq when the action is not startup, providing more precise control over when the service is stopped.

Avoid to start keepalived on upgrades.
It must be manually enabled with HA setup.
Keepalived is enabled by default.
When starting it executes hotplug event with ACTION=startup

The 500-dhcp-force script was stopping dnsmasq just
during startup.
@gsanchietti gsanchietti requested a review from Tbaile October 30, 2025 10:08
@Tbaile Tbaile merged commit 5fe84a5 into main Oct 30, 2025
2 checks passed
@Tbaile Tbaile deleted the disable_keepalived branch October 30, 2025 10:40
Tbaile added a commit that referenced this pull request Oct 31, 2025
Tbaile added a commit that referenced this pull request Oct 31, 2025
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.

3 participants