Bug 1946500

Summary: RFE: backport commit e921913eecd5025dae688fdf9c365023fe3b8a0c (SELinux support)
Product: Red Hat Enterprise Linux 8 Reporter: Renaud Métrich <rmetrich>
Component: straceAssignee: Eugene Syromiatnikov <esyr>
strace sub component: system-version QA Contact: Jesus Checa <jchecahi>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: cbesson, emachado, esyr, fkrska, fweimer, jchecahi, mcermak, ohudlick, sjohnsto, skozina, toneata
Version: 8.3Keywords: FutureFeature, Triaged, ZStream
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: strace-5.7-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2000565 2000566 2000913 (view as bug list) Environment:
Last Closed: 2021-11-09 20:06:48 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: 2000565, 2000566, 2000913    

Description Renaud Métrich 2021-04-06 09:20:25 UTC
Description of problem:

I'm requesting a backport of commit e921913eecd5025dae688fdf9c365023fe3b8a0c to our standard strace tool shipped with RHEL8.
This brings up the SELinux context functionality which is tremendously welcome when CEE has to deal with SELinux issues. It enables to spot more easily what's wrong by analyzing the contexts the processes are transitioning to or file contexts.

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

strace-5.1-1.el8.x86_64


How reproducible:

N/A

Comment 2 Eugene Syromiatnikov 2021-08-24 20:32:19 UTC
Testing notes: for m32, libselinux.i686 and libselinux-devel.i686 are to be installed.  Presence of the selinux context decoding feature is indicated by the presence of "secontext" on the "Optional features enabled" line in `strace -V` output.

Comment 24 errata-xmlrpc 2021-11-09 20:06:48 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 (strace 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/RHEA-2021:4514