Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vrrp: always add a keepalived entry to rt_addrprotos is none exists #2488

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

pqarmitage
Copy link
Collaborator

A request to add an entry to /usr/share/iproute2/rt_addrprotos.d for keepalived to use for an address protocol was rejected with the following reason:

iproute2 now allows apps to drop custom files in
/etc/iproute2/rt_addrprotos.d, so this can be managed within keepalived.

(see https://lore.kernel.org/netdev/[email protected]/T/#t)

So this commit now adds an entry to
/etc/iproute2/rt_addrprotos.d/keepalived.conf if the version of iproute2 >= 6.12, or to /etc/iproute2/rt_addrprotos if the version is between 6.3 and 6.11.

A request to add an entry to /usr/share/iproute2/rt_addrprotos.d
for keepalived to use for an address protocol was rejected with the
following reason:

iproute2 now allows apps to drop custom files in
/etc/iproute2/rt_addrprotos.d, so this can be managed within keepalived.

(see https://lore.kernel.org/netdev/[email protected]/T/#t)

So this commit now adds an entry to
/etc/iproute2/rt_addrprotos.d/keepalived.conf if the version of
iproute2 >= 6.12, or to /etc/iproute2/rt_addrprotos if the version is
between 6.3 and 6.11.

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit 51f9828 into acassen:master Oct 29, 2024
10 checks passed
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