Bug 1508965

Summary: Need to rebuild rpm in order to remove static relocations not known to older linkers
Product: Red Hat Enterprise Linux 7 Reporter: Nick Clifton <nickc>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.5CC: law, mcermak, ohudlick, omoris, qe-baseos-tools-bugs
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: audit-2.8.1-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1508954
: 1508966 (view as bug list) Environment:
Last Closed: 2018-04-10 12:18:47 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: 1508954    
Bug Blocks: 1508966, 1508968, 1508970, 1508979, 1508980, 1508983    

Comment 5 Steve Grubb 2017-11-06 19:25:07 UTC
audit-2.8.1-2.el7 was built to resolve this issue.

Comment 7 Ondrej Moriš 2017-11-25 14:47:34 UTC
Successfully reproduced and verified on RHEL and RHEL-ALT on all supported architectures (x86_64, ppc64, s390x, ppc64le and aarch64).

OLD (audit-libs-static-2.8.1-1.el7)
===================================
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   PASS   ] :: Command 'rpm2cpio *.rpm | cpio -dim' (Expected 0, got 0)
:: [   PASS   ] :: Command 'find usr -type f -exec readelf -r -W {} \; > relocs.out' (Expected 0, got 0)
:: [   FAIL   ] :: File 'relocs.out' should not contain 'GOTPCRELX' 
:: [   PASS   ] :: File 'relocs.out' should not contain 'GOT32X' 

NEW (audit-libs-static-2.8.1-2.el7)
===================================
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   PASS   ] :: Command 'rpm2cpio *.rpm | cpio -dim' (Expected 0, got 0)
:: [   PASS   ] :: Command 'find usr -type f -exec readelf -r -W {} \; > relocs.out' (Expected 0, got 0)
:: [   PASS   ] :: File 'relocs.out' should not contain 'GOTPCRELX' 
:: [   PASS   ] :: File 'relocs.out' should not contain 'GOT32X'

Comment 10 errata-xmlrpc 2018-04-10 12:18:47 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, 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-2018:0760