Bug 2038853

Summary: harden libtracefs in RHEL-9
Product: Red Hat Enterprise Linux 9 Reporter: Michael Petlan <mpetlan>
Component: libtracefsAssignee: Michael Petlan <mpetlan>
Status: CLOSED ERRATA QA Contact: Qiao Zhao <qzhao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: acme, rlemosor
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libtracefs-1.0.2-7.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 16:02:09 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: 2044387    

Description Michael Petlan 2022-01-10 10:23:32 UTC
Description of problem:

Dummy bug for enabling errata creation.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Michael Petlan 2022-01-13 09:07:24 UTC
Testing:

$ annocheck --ignore-unknown --verbose ./usr/lib64/libtracefs.so.1.0.2


BEFORE:
...
Hardened: /usr/lib64/libtracefs.so.1.0.2: FAIL: bind-now test because not linked with -Wl,-z,now 
...


AFTER:
...
Hardened: ./usr/lib64/libtracefs.so.1.0.2: PASS: bind-now test
...

Comment 5 Michael Petlan 2022-01-14 10:17:08 UTC
Hmm, the solution fixes the problem only on aarch64 and ppc64le, while s390x and x86_64 still fail CI.

Comment 6 Michael Petlan 2022-01-18 09:22:15 UTC
Seems fixed now.

Comment 13 Michael Petlan 2022-01-26 14:02:34 UTC
*** Bug 2044877 has been marked as a duplicate of this bug. ***

Comment 18 errata-xmlrpc 2022-05-17 16:02:09 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 (new packages: libtracefs), 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-2022:4034