Bug 489539 - avc: denied { read write ioctl } for comm="oracle" path="/dev/console"
Summary: avc: denied { read write ioctl } for comm="oracle" path="/dev/console"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Milan Zázrivec
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-03-10 16:25 UTC by Milan Zázrivec
Modified: 2009-09-17 07:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:11:04 UTC
Embargoed:


Attachments (Terms of Use)
part of /var/log/audit/audit.log (718 bytes, text/plain)
2009-03-10 16:25 UTC, Milan Zázrivec
no flags Details

Description Milan Zázrivec 2009-03-10 16:25:44 UTC
Created attachment 334670 [details]
part of /var/log/audit/audit.log

Description of problem:
SELinux denials occurred when starting oracle-xe with selinux enabled on
a paravirtualized xen-guest (startup viewing from host system via
xm console ...).

Version-Release number of selected component (if applicable):
oracle-xe-selinux-10.2-9.el5
oracle-nofcontext-selinux-0.1-23.5.el5

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL-5.3 as a paravirtualized guest, selinux enabled.
2. Follow Oracle-XE installation instructions documented at
   https://fedorahosted.org/spacewalk/wiki/OracleXeSetup
3. oracle-xe-selinux and oracle-instantclient-selinux need to be installed.
4. Reboot your guest.
5. "xm console your-guest-name" from your host (this needs to be on when
   oracle-xe is starting for the denial to show up).
  
Actual results:
Attachment.

Expected results:
No denials.

Additional info:
N/A

Comment 1 Jan Pazdziora 2009-04-10 11:12:06 UTC
With RHEL 5.3 and

# rpm -qa | grep oracle | sort
oracle-instantclient-basic-10.2.0.4-1
oracle-instantclient-selinux-10.2-8.el5
oracle-instantclient-sqlplus-10.2.0.4-1
oracle-lib-compat-10.2-19.el5
oracle-nofcontext-selinux-0.1-23.6.el5
oracle-xe-selinux-10.2-9.el5
oracle-xe-univ-10.2.0.1-1.0

and

# rpm -qa | grep selinux | sort
libselinux-1.33.4-5.1.el5
libselinux-python-1.33.4-5.1.el5
libselinux-utils-1.33.4-5.1.el5
oracle-instantclient-selinux-10.2-8.el5
oracle-nofcontext-selinux-0.1-23.6.el5
oracle-xe-selinux-10.2-9.el5
selinux-policy-2.4.6-203.el5
selinux-policy-targeted-2.4.6-203.el5

I was (no longer) able to reproduce the issue.

As such, moving ON_QA for Spacewalk 0.5.

Comment 2 Jesus M. Rodriguez 2009-04-14 14:13:29 UTC
Spacewalk 0.5 released.

Comment 3 Miroslav Suchý 2009-09-17 07:11:04 UTC
Spacewalk 0.5 has been released for long time ago.


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