Bug 1475783 - Missing selinux rules for Oracle Client 12.2
Missing selinux rules for Oracle Client 12.2
Status: NEW
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
2.6
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Michael Mráka
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-27 07:01 EDT by Pavel Studeník
Modified: 2017-07-27 09:03 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pavel Studeník 2017-07-27 07:01:54 EDT
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

Note You need to log in before you can comment on or make changes to this bug.