Bug 1954581

Summary: Fix for CI failures
Product: Red Hat Enterprise Linux 9 Reporter: Phil Sutter <psutter>
Component: iptablesAssignee: Phil Sutter <psutter>
Status: CLOSED CURRENTRELEASE QA Contact: Štěpán Němec <snemec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: egarver, snemec, todoleza
Target Milestone: betaKeywords: Triaged
Target Release: 9.0 Beta   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iptables-1.8.7-11.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-02 20:19:51 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:

Description Phil Sutter 2021-04-28 12:18:00 UTC
RHEL CI revealed a few problems with the package as it was imported from Fedora 34, fix at least:

* Wrong Artistic License abbreviation
* Use of obsolete functions (inet_aton, inet_ntoa, gethostbyaddr) (fixes under review upstream)

Comment 1 Phil Sutter 2021-05-11 16:42:46 UTC
Upstream commits to backport:

commit acac2dbe64e5120394fa715bb5fe95c42d08b8b3
Author: Phil Sutter <phil>
Date:   Tue Apr 27 09:12:53 2021 +0200

    Eliminate inet_aton() and inet_ntoa()
    
    Both functions are obsolete, replace them by equivalent calls to
    inet_pton() and inet_ntop().
    
    Signed-off-by: Phil Sutter <phil>

commit 1e984079817a3c804eae25dea937d63d18c57a6c
Author: Phil Sutter <phil>
Date:   Tue Apr 27 10:02:34 2021 +0200

    nft-arp: Make use of ipv4_addr_to_string()
    
    This eliminates quite a bit of redundant code apart from also dropping
    use of obsolete function gethostbyaddr().
    
    Signed-off-by: Phil Sutter <phil>