Bug 707859 - SELINUX: spacewalk-schema-upgrade produces avc denials
SELINUX: spacewalk-schema-upgrade produces avc denials
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Milan Zazrivec
Red Hat Satellite QA List
Depends On:
Blocks: 462714
  Show dependency treegraph
Reported: 2011-05-26 03:52 EDT by Petr Sklenar
Modified: 2014-07-04 09:24 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-07-04 09:24:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2011-05-26 03:52:15 EDT
Description of problem:
/usr/bin/spacewalk-schema-upgrade produces avc denials

Version-Release number of selected component (if applicable):
sat540 > sat541

How reproducible:

Steps to Reproduce:
1. wget Satellite-5.4.1-RHEL5-re20110525.0-x86_64-embedded-oracle.iso
2. mount -o loop Satellite-5.4.1-RHEL5-re20110525.0-x86_64-embedded-oracle.iso /mnt/sat541

3. # mount | grep loop1
/root/Satellite-5.4.1-RHEL5-re20110525.0-x86_64-embedded-oracle.iso on /mnt/sat541 type iso9660 (rw,loop=/dev/loop1)

4. cd /mnt/sat541
5. continue in upgrade
6. /usr/bin/spacewalk-schema-upgrade 
Actual results:
type=AVC msg=audit(1306337962.403:1648): avc:  denied  { search } for  pid=30867 comm="sqlplus" name="/" dev=loop1 ino=1792 scontext=root:system_r:oracle_sqlplus_t:s0-s0:c0.c1023 tcontext=system_u:object_r:iso9660_t:s0 tclass=di

# find / -mount -inum 1792

Expected results:
no avc denial

Additional info:

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