Bug 1374998

Summary: SELinux is preventing qemu-system-x86 from 'read' accesses on the file +pci:0000:01:00.0.
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:ffcdb9988f16f8a88ff74a11029de7affefeac0f779825f0f0aec5a4e34acee0;VARIANT_ID=workstation;
Fixed In Version: selinux-policy-3.13.1-219.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-18 18:23:24 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 Joachim Frieben 2016-09-11 15:23:08 UTC
Description of problem:
SELinux is preventing qemu-system-x86 from 'read' accesses on the file +pci:0000:01:00.0.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that qemu-system-x86 should be allowed read access on the +pci:0000:01:00.0 file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'qemu-system-x86' --raw | audit2allow -M my-qemusystemx86
# semodule -X 300 -i my-qemusystemx86.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:svirt_t:s0:c5,c359
Target Context                system_u:object_r:udev_var_run_t:s0
Target Objects                +pci:0000:01:00.0 [ file ]
Source                        qemu-system-x86
Source Path                   qemu-system-x86
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-211.fc25.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.8.0-0.rc5.git1.1.fc25.x86_64 #1
                              SMP Tue Sep 6 15:52:10 UTC 2016 x86_64 x86_64
Alert Count                   3
First Seen                    2016-09-11 17:21:41 CEST
Last Seen                     2016-09-11 17:21:46 CEST
Local ID                      df6eb834-bc32-43ae-82b5-10b4c5cb0571

Raw Audit Messages
type=AVC msg=audit(1473607306.430:402): avc:  denied  { read } for  pid=11747 comm="qemu-system-x86" name="+pci:0000:01:00.0" dev="tmpfs" ino=13537 scontext=unconfined_u:unconfined_r:svirt_t:s0:c5,c359 tcontext=system_u:object_r:udev_var_run_t:s0 tclass=file permissive=0


Hash: qemu-system-x86,svirt_t,udev_var_run_t,file,read

Version-Release number of selected component:
selinux-policy-3.13.1-211.fc25.noarch

Additional info:
reporter:       libreport-2.8.0
hashmarkername: setroubleshoot
kernel:         4.8.0-0.rc5.git1.1.fc25.x86_64
type:           libreport

Potential duplicate: bug 1276873

Comment 1 Fedora Admin XMLRPC Client 2016-09-27 15:04:32 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.