Skip to content

check: send systemd READY even with no runnable config#2662

Open
cpaillet wants to merge 1 commit into
acassen:masterfrom
cpaillet:master
Open

check: send systemd READY even with no runnable config#2662
cpaillet wants to merge 1 commit into
acassen:masterfrom
cpaillet:master

Conversation

@cpaillet
Copy link
Copy Markdown

When keepalived starts without any VRRP/LVS/BFD blocks, it does not spawn any child processes. In this case, systemd never receives a READY=1 notification, and the service eventually times out during startup.

Fix this by explicitly calling systemd_notify_running() when there are no children, so that systemd always gets a readiness signal, even with an empty configuration.

When keepalived starts without any VRRP/LVS/BFD blocks, it does not
spawn any child processes. In this case, systemd never receives a
READY=1 notification, and the service eventually times out during
startup.

Fix this by explicitly calling systemd_notify_running() when there are
no children, so that systemd always gets a readiness signal, even with
an empty configuration.
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.

1 participant