Bug 707859 - SELINUX: spacewalk-schema-upgrade produces avc denials
Summary: SELINUX: spacewalk-schema-upgrade produces avc denials
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 541
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-05-26 07:52 UTC by Petr Sklenar
Modified: 2014-07-04 13:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:24:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2011-05-26 07:52:15 UTC
Description of problem:
/usr/bin/spacewalk-schema-upgrade produces avc denials

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

How reproducible:
deterministic

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
/mnt/sat541


Expected results:
no avc denial

Additional info:


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