Bug 1475783

Summary: Missing selinux rules for Oracle Client 12.2
Product: [Community] Spacewalk Reporter: Pavel Studeník <pstudeni>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED EOL QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.6   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-21 13:26:17 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 Pavel Studeník 2017-07-27 11:01:54 UTC
Description of problem:
I install new version of Oracle Client 12, but the package oracle-instantclient-sqlplus-selinux supports only version 11.

>> rpm -ql oracle-instantclient11.2-basic
/usr/lib/oracle/11.2/client64/bin/adrci
/usr/lib/oracle/11.2/client64/bin/genezi

>> rpm -ql oracle-instantclient12.2-basic
/usr/lib/oracle/12.2/client64/bin/adrci
/usr/lib/oracle/12.2/client64/bin/genezi
...

Version-Release number of selected component (if applicable):
oracle-instantclient-sqlplus-selinux-11.2.0.3-1.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. Install package oracle-instantclient12.2-basic from Oracle page

Actual results:
missing correct path in selinux

Expected results:
package support all versions of oracle client

Additional info:
something as replacing 11/.2 -> [^/]+

/usr/sbin/semanage fcontext -a -t textrel_shlib_t '/usr/lib/oracle/[^/]+/client.*/lib/'${i//./\\.}
done

Comment 2 Michael Mráka 2019-10-21 13:26:17 UTC
Spacewalk 2.8 (and older) has already reached it's End Of Life.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before end of life. If you would still like
to see this bug fixed and are able to reproduce it against current version
of Spacewalk 2.9, you are encouraged change the 'version' and re-open it.