Bug 1818891

Summary: Fix keepalived to build with latest ipset
Product: Red Hat Enterprise Linux 7 Reporter: Ryan O'Hara <rohara>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.7CC: cluster-maint, pmorey
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: keepalived-1.3.5-17.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 20:35:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1784879    

Description Ryan O'Hara 2020-03-30 15:57:55 UTC
RHEL7.7 intrdouced a new version of ipset, include the library, which keepalived depends on. The API for libipset had changed, and thus keepalived must be patched.

At first we noticed that keepalived could not load the libipset library (rhbz#1796541) which probably happened because the last RHEL7 built with the old library, then ipset was rebased and the version of libipset changed. But additionally, while attempting to fix a customer reported bug in keepalived, we noticed that keepalived no longer builds at all due to errors with the libipset API.

This upstream patch seems to address the issue, allowing keepalived to build with either the old libipset or the latest:

https://github.com/acassen/keepalived/commit/b7a98f9265ffb5927c4d54c9a30726c76e65bb52

Note that we don't need to modify the configure script and use LIBIPSET_PRE_V7_COMPAT because we can assume that RHEL will always use ipset 7.x. All required changes can be confined to vrrp_ipset.c.

Note that any z-stream release of keepalived in RHEL7.7.z or later will also require this fix, else we won't be able to build.

Comment 10 errata-xmlrpc 2020-09-29 20:35:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (keepalived bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:4015