Bug 1969555

Summary: mod_wsgi contains DT_RUNPATH - failing rpminspect
Product: Red Hat Enterprise Linux 9 Reporter: Luboš Uhliarik <luhliari>
Component: mod_wsgiAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED CURRENTRELEASE QA Contact: Branislav Náter <bnater>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: bnater, icesalov
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mod_wsgi-4.7.1-6.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2213836 (view as bug list) Environment:
Last Closed: 2021-12-07 22:04: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: 2213836, 2213837    

Description Luboš Uhliarik 2021-06-08 15:30:35 UTC
Running rpminspect on mod_wsgi-4.7.1-5.el9. No older builds were found in the "rhel-9.0.0-beta-candidate" brew tag.

Test description:
    runpath
Check for forbidden paths in both the DT_RPATH and DT_RUNPATH settings in ELF shared objects.

======================================== Test Output ========================================
rpminspect:
-----------
1) version

Result: INFO
Waiver Authorization: Not Waivable

Details:
rpminspect version 1.5



2) command line

Result: INFO
Waiver Authorization: Not Waivable

Details:
rpminspect -c /usr/share/rpminspect/redhat.yaml --format=text --arches x86_64,noarch,src --release=el9 --profile=rhel-9-devel --tests=runpath /workdir/36189145-/ /workdir/36189145-/mod_wsgi-4.7.1-5.el9



runpath:
--------
1) /usr/lib64/python3.9/site-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so has an invalid-looking DT_RPATH on x86_64: /usr/lib64

Result: VERIFY
Waiver Authorization: Anyone

Suggested Remedy:
Either DT_RPATH or DT_RUNPATH properties were found on ELF shared objects in this package.  The use of DT_RPATH and DT_RUNPATH is discouraged except in certain situations.  Check to see that you a disabling rpath during the %build stage of the spec file.  If you are unable to do this easily, you can try using a program such as patchelf to remove these properties from the ELF files.

2) /usr/lib64/python3.9/site-packages/mod_wsgi/server/mod_wsgi-py39.cpython-39-x86_64-linux-gnu.so has an invalid-looking DT_RPATH on x86_64: /usr/lib64/python3.9/config

Result: VERIFY
Waiver Authorization: Anyone

Suggested Remedy:
Either DT_RPATH or DT_RUNPATH properties were found on ELF shared objects in this package.  The use of DT_RPATH and DT_RUNPATH is discouraged except in certain situations.  Check to see that you a disabling rpath during the %build stage of the spec file.  If you are unable to do this easily, you can try using a program such as patchelf to remove these properties from the ELF files.
Error: exec session exited with non-zero exit code 1: OCI runtime error