Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 646863

Summary: selinux denial: db-control extend
Product: Red Hat Satellite 5 Reporter: Petr Sklenar <psklenar>
Component: ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 540CC: jpazdziora, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-23 15:10:41 UTC Type: ---
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: 462714    

Description Petr Sklenar 2010-10-26 13:51:53 UTC
Description of problem:
selinux denial: db-control extend

Version-Release number of selected component (if applicable):
Satellite-5.4.0-RHEL5-re20101025.0

rpm -qa | grep selinux
oracle-rhnsat-selinux-10.2.0.16-2.el5sat
libselinux-1.33.4-5.5.el5
jabberd-selinux-1.4.9-2.el5sat
spacewalk-monitoring-selinux-1.1.1-1.el5sat
libselinux-1.33.4-5.5.el5
libselinux-python-1.33.4-5.5.el5
selinux-policy-devel-2.4.6-279.el5_5.1
oracle-nofcontext-selinux-0.1.23.19-2.el5sat
selinux-policy-2.4.6-279.el5_5.1
selinux-policy-targeted-2.4.6-279.el5_5.1
oracle-instantclient-sqlplus-selinux-10.2.0.19-2.el5sat
spacewalk-selinux-1.2.1-1.el5sat
libselinux-utils-1.33.4-5.5.el5
oracle-instantclient-selinux-10.2.0.19-2.el5sat
osa-dispatcher-selinux-5.9.38-1.el5sat

How reproducible:
always

Steps to Reproduce:
1. su - oracle
2. db-control extend DATA_TBS
3.
  
Actual results:
tail -f /var/log/audit/audit.log | grep den &
 su - oracle
-bash-3.2$ db-control extend DATA_TBS
Extending DATA_TBS... type=AVC msg=audit(1288100817.435:8170): avc:  denied  { search } for  pid=11565 comm="oracle" name="17913" dev=proc ino=1173946370 scontext=root:system_r:oracle_db_t:s0 tcontext=root:system_r:unconfined_t:s0-s0:c0.c1023 tclass=dir
done.
Expected results:

no denial

Additional info:

Comment 1 Miroslav Suchý 2012-03-23 15:10:41 UTC
I could not reproduce it any more with RHEL5 and sat541