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

Updates #2347

Merged
merged 2 commits into from
Oct 1, 2023
Merged

Updates #2347

merged 2 commits into from
Oct 1, 2023

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

It is possible, for example, to configure both 10.1.0.3/32 and
10.1.0.3/24 on the same interface. When checking whether an address
deleted from an interface is one of our VIPs, we need to also check
the prefix length.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
Prior to a config-check, the log file is truncated (to 0 size). If
/dev/null (or any other non-regular) file was specified, truncate()
gives error EINVAL, which was not being handled in the code.

This commit stops keepalived logging an error if the output file
specified (or the default /dev/null) is a character device.

Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
@pqarmitage pqarmitage merged commit 5a54d67 into acassen:master Oct 1, 2023
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.

None yet

1 participant