Bug 1257574 - After installing oracle-xe-selinux, oracle-xe fails to configure after installation
Summary: After installing oracle-xe-selinux, oracle-xe fails to configure after instal...
Keywords:
Status: CLOSED DUPLICATE of bug 1258563
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 2.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2015-08-27 11:33 UTC by Lukáš Hellebrandt
Modified: 2017-09-28 18:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-02 10:24:44 UTC
Embargoed:


Attachments (Terms of Use)
audit.log (9.10 KB, text/plain)
2015-08-27 11:33 UTC, Lukáš Hellebrandt
no flags Details

Description Lukáš Hellebrandt 2015-08-27 11:33:40 UTC
Created attachment 1067689 [details]
audit.log

Description of problem:
When oracle-xe-selinux is installed, oracle-xe fails to configure after installation ('/etc/init.d/oracle-xe configure'). AVC denials in audit.log attached.
The error message is 'Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details'. The files in that directory contain multiple Oracle errors: 'ORA-01034: ORACLE not available', 'ORA-27101: shared memory realm does not exist', 'ORA-00600: internal error code, arguments: [SKGMHASH], [1], [18446744072646661188], [0], [0], [], [], [], [], [], [], []'.

After 'setenforce 0' or without oracle-xe-selinux, installation works and the database runs (tested using sqlplus).

Version-Release number of selected component (if applicable):
oracle-xe-11.2.0-1.0.x86_64
oracle-xe-selinux-10.2.0.40-1.fc21.noarch

How reproducible:
Always on Fedora 21, 22

Steps to Reproduce:
yum remove oracle-xe -y; yum install oracle-xe -y; yum --nogpgcheck -y install oracle-lib-compat; yum -y upgrade selinux-policy selinux-policy-targeted; yum  --nogpgcheck -y install oracle-xe-selinux; /etc/init.d/oracle-xe configure

while

tail -F /var/log/audit/audit.log

Actual results:
AVCs, errors in /u01/app/oracle/product/11.2.0/xe/config/log , the database is not configured

Expected results:
The database should be configured and run correctly

Comment 1 Pavel Studeník 2015-09-02 10:24:44 UTC

*** This bug has been marked as a duplicate of bug 1258563 ***

Comment 2 Eric Herget 2017-09-28 18:12:04 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


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