Bug 450863

Summary: Piles of AVCs when starting a virtual machine
Product: [Fedora] Fedora Reporter: Casey Dahlin <cdahlin>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: rvokal, vanhoof
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-17 21:53:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Casey Dahlin 2008-06-11 14:21:20 UTC
I get these when starting a qemu-kvm virtual machine from virtmanager. They come
hundreds at a time, I think I got about 1700 when I booted.

Raw Audit Messages
host=4chan type=AVC msg=audit(1213193183.890:47492): avc:  denied  { getsched }
for  pid=31214 comm="qemu-system-x86" scontext=system_u:system_r:virtd_t:s0
                tcontext=system_u:system_r:virtd_t:s0 tclass=process
host=4chan type=SYSCALL msg=audit(1213193183.890:47492): arch=c000003e
syscall=145 success=no exit=-13 a0=79ee a1=7fcdc3acaae8 a2=d a3=0 items=0
ppid=2362 pid=31214 auid=4294967295 uid=0 gid=0
                euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none)
ses=4294967295 comm="qemu-system-x86" exe="/usr/bin/qemu-system-x86_64"
subj=system_u:system_r:virtd_t:s0 key=(null)

Comment 1 Daniel Walsh 2008-06-14 11:12:01 UTC
# audit2allow -M mypol -l -i /var/log/audit/audit.log
# semodule -i mypol.pp

Fixed in selinux-policy-3.3.1-67.fc9.noarch

Comment 2 Casey Dahlin 2008-11-17 21:39:14 UTC
This does indeed seem fixed. I see no reason to keep this open. Dan, do you agree?

Comment 3 Daniel Walsh 2008-11-17 21:53:23 UTC
When you confirm you are welcome to close.