Bug 885183 - SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'read' accesses on the blk_file sr0.
Summary: SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'read' accesses on the bl...
Keywords:
Status: CLOSED DUPLICATE of bug 885186
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dc44812d77cac163b4cf61ed240...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-07 16:58 UTC by roddy
Modified: 2012-12-10 07:35 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-10 07:35:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-07 16:58 UTC, roddy
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-07 16:58 UTC, roddy
no flags Details

Description roddy 2012-12-07 16:58:12 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.6.9-2.fc17.x86_64

description:
:SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'read' accesses on the blk_file sr0.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that qemu-dm should be allowed read access on the sr0 blk_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:
:# grep qemu-dm /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:xend_t:s0
:Target Context                system_u:object_r:removable_device_t:s0
:Target Objects                sr0 [ blk_file ]
:Source                        qemu-dm
:Source Path                   /usr/lib/xen/bin/qemu-dm
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           xen-runtime-4.1.3-6.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-161.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.9-2.fc17.x86_64 #1 SMP Tue Dec
:                              4 13:26:04 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    2012-12-07 20:50:31 RET
:Last Seen                     2012-12-07 20:50:31 RET
:Local ID                      e6230c74-93d2-435b-97c6-9d8b141bdd98
:
:Raw Audit Messages
:type=AVC msg=audit(1354899031.629:191): avc:  denied  { read } for  pid=8622 comm="qemu-dm" name="sr0" dev="devtmpfs" ino=6003 scontext=system_u:system_r:xend_t:s0 tcontext=system_u:object_r:removable_device_t:s0 tclass=blk_file
:
:
:type=SYSCALL msg=audit(1354899031.629:191): arch=x86_64 syscall=open success=no exit=EACCES a0=bf2510 a1=4000 a2=1a4 a3=30 items=0 ppid=885 pid=8622 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=qemu-dm exe=/usr/lib/xen/bin/qemu-dm subj=system_u:system_r:xend_t:s0 key=(null)
:
:Hash: qemu-dm,xend_t,removable_device_t,blk_file,read
:
:audit2allow
:
:#============= xend_t ==============
:allow xend_t removable_device_t:blk_file read;
:
:audit2allow -R
:
:#============= xend_t ==============
:allow xend_t removable_device_t:blk_file read;
:

Comment 1 roddy 2012-12-07 16:58:16 UTC
Created attachment 659508 [details]
File: type

Comment 2 roddy 2012-12-07 16:58:19 UTC
Created attachment 659509 [details]
File: hashmarkername

Comment 3 roddy 2012-12-07 17:27:16 UTC
Cannot read cd from CD/DVD drive on domU

Package: (null)
OS Release: Fedora release 17 (Beefy Miracle)

Comment 4 Miroslav Grepl 2012-12-10 07:35:44 UTC

*** This bug has been marked as a duplicate of bug 885186 ***


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