Bug 475782 - [RHEL5.3] SELinux AVC Denied: allowing install of xen guest
[RHEL5.3] SELinux AVC Denied: allowing install of xen guest
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-manager (Show other bugs)
5.3
All Linux
medium Severity medium
: rc
: ---
Assigned To: Daniel Berrange
Mike Gahagan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-10 08:48 EST by Jeff Burke
Modified: 2008-12-10 09:19 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-12-10 09:19:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jeff Burke 2008-12-10 08:48:33 EST
Description of problem:


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


How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
  
Actual results:
type=AVC msg=audit(1228796912.386:13): avc:  denied  { append } for  pid=6191 comm="ifconfig" path="/.virtinst/virt-install.log" dev=dm-0 ino=7077890 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file
type=AVC msg=audit(1228796912.386:13): avc:  denied  { read write } for  pid=6191 comm="ifconfig" path="socket:[13082]" dev=sockfs ino=13082 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket
type=SYSCALL msg=audit(1228796912.386:13): arch=40000003 syscall=11 success=yes exit=0 a0=8a3c1e8 a1=8a3c180 a2=8a3b848 a3=0 items=0 ppid=6174 pid=6191 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=4294967295 comm="ifconfig" exe="/sbin/ifconfig" subj=system_u:system_r:ifconfig_t:s0 key=(null)
type=ANOM_PROMISCUOUS msg=audit(1228796918.498:14): dev=vif1.0 prom=256 old_prom=0 auid=4294967295 ses=4294967295
type=SYSCALL msg=audit(1228796918.498:14): arch=40000003 syscall=54 success=yes exit=0 a0=3 a1=89a2 a2=bfae0720 a3=1 items=0 ppid=6261 pid=6322 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="brctl" exe="/usr/sbin/brctl" subj=system_u:system_r:udev_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit(1228796918.946:15): avc:  denied  { append } for  pid=6369 comm="virsh" path="/.virtinst/virt-install.log" dev=dm-0 ino=7077890 scontext=system_u:system_r:xm_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file
type=SYSCALL msg=audit(1228796918.946:15): arch=40000003 syscall=11 success=yes exit=0 a0=8bc9ec8 a1=8bbea68 a2=bfdc1338 a3=8a6d608 items=0 ppid=4593 pid=6369 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=4294967295 comm="virsh" exe="/usr/bin/virsh" subj=system_u:system_r:xm_t:s0 key=(null)
type=AVC msg=audit(1228796919.142:16): avc:  denied  { search } for  pid=6369 comm="virsh" name="libvirt" dev=dm-0 ino=184680677 scontext=system_u:system_r:xm_t:s0 tcontext=system_u:object_r:virt_var_run_t:s0 tclass=dir
type=SYSCALL msg=audit(1228796919.142:16): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bfedb510 a2=d1febc a3=83c4c90 items=0 ppid=4593 pid=6369 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=4294967295 comm="virsh" exe="/usr/bin/virsh" subj=system_u:system_r:xm_t:s0 key=(null)
type=ANOM_PROMISCUOUS msg=audit(1228797259.695:17): dev=vif1.0 prom=0 old_prom=256 auid=4294967295 ses=4294967295
type=AVC msg=audit(1228797272.235:18): avc:  denied  { append } for  pid=9408 comm="ifconfig" path="/.virtinst/virt-install.log" dev=dm-0 ino=7077890 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file
type=AVC msg=audit(1228797272.235:18): avc:  denied  { read write } for  pid=9408 comm="ifconfig" path="socket:[24674]" dev=sockfs ino=24674 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=unix_stream_socket
type=SYSCALL msg=audit(1228797272.235:18): arch=40000003 syscall=11 success=yes exit=0 a0=85b02c8 a1=85b0260 a2=85af930 a3=0 items=0 ppid=9407 pid=9408 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=4294967295 comm="ifconfig" exe="/sbin/ifconfig" subj=system_u:system_r:ifconfig_t:s0 key=(null)
type=ANOM_PROMISCUOUS msg=audit(1228797272.915:19): dev=tap0 prom=256 old_prom=0 auid=4294967295 ses=4294967295


Expected results:


Additional info:
Comment 1 Jeff Burke 2008-12-10 09:19:39 EST
Real BZ

https://bugzilla.redhat.com/show_bug.cgi?id=475786

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