Description of problem: Oracle process attempts to write to the following directory. /opt/apps/oracle/web/product/10.2.0/db_1/ccr/state/ Right now we don't have the reproducer, but since happens time to time in automation I want the bugzilla to track the issue Version-Release number of selected component (if applicable): Satellite-5.4.1-RHEL6-re20110426.0 Satellite 5.4.0 How reproducible: not deterministic and rather rare Steps to Reproduce: 1. Unknown so far. 2. 3. Actual results: AVC denial. Expected results: No denial. Additional info: The Readme file does not say a much about state/ directory. /opt/apps/oracle/web/product/10.2.0/db_1/ccr/README.TXT
time->Tue Apr 26 15:43:52 2011 type=SYSCALL msg=audit(1303847032.695:396985): arch=c000003e syscall=2 per=400000 success=no exit=-13 a0=7245240 a1=241 a2=1b6 a3=2 items=0 ppid=1 pid=27682 auid=4294967295 uid=498 gid=495 euid=498 suid=498 fsuid=498 egid=496 sgid=496 fsgid=496 tty=(none) ses=4294967295 comm="oracle" exe="/opt/apps/oracle/web/product/10.2.0/db_1/bin/oracle" subj=unconfined_u:system_r:oracle_db_t:s0 key=(null) type=AVC msg=audit(1303847032.695:396985): avc: denied { write } for pid=27682 comm="oracle" name="state" dev=dm-0 ino=1970498 scontext=unconfined_u:system_r:oracle_db_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir time->Tue Apr 26 15:43:52 2011 type=SYSCALL msg=audit(1303847032.732:396986): arch=c000003e syscall=2 per=400000 success=no exit=-13 a0=7a14240 a1=241 a2=1b6 a3=2 items=0 ppid=1 pid=27684 auid=4294967295 uid=498 gid=495 euid=498 suid=498 fsuid=498 egid=496 sgid=496 fsgid=496 tty=(none) ses=4294967295 comm="oracle" exe="/opt/apps/oracle/web/product/10.2.0/db_1/bin/oracle" subj=unconfined_u:system_r:oracle_db_t:s0 key=(null) type=AVC msg=audit(1303847032.732:396986): avc: denied { write } for pid=27684 comm="oracle" name="state" dev=dm-0 ino=1970498 scontext=unconfined_u:system_r:oracle_db_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=dir
Fixed in spacewalk master by commit 25226d9e8db4b879aacde64788a60e7ff90b0943 699979 - allow oracle to write to configuration manager files Fixed spacewalk package: oracle-rhnsat-selinux-10.2.0.19-1
Backported to SATELLITE-5.4 as commit e1f4d72c65ab0ce76bf2ace1670161c7c9d007b3 699979 - allow oracle to write to configuration manager files
Changing to Verified: Testing procedure: Automated Satellite Installation with the check of audit.log Verified against: oracle-rhnsat-selinux-10.2.0.16-6.el5sat oracle-rhnsat-selinux-10.2.0.16-6.el6sat
Verified in stage w/ oracle-rhnsat-selinux-10.2.0.16-6 -> release pending.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. https://rhn.redhat.com/errata/RHEA-2011-0875.html