Bug 1033820 - SELinux is preventing /usr/bin/qemu-system-i386 from 'open' accesses on the file /mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482/Fedora-Live-Desktop-i686-20-Beta-5.iso.
Summary: SELinux is preventing /usr/bin/qemu-system-i386 from 'open' accesses on the f...
Keywords:
Status: CLOSED DUPLICATE of bug 1033823
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:06e5e1d88e3b7a469609d8152a3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-23 09:51 UTC by mj797980
Modified: 2013-11-25 14:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-25 14:05:38 UTC
Type: ---


Attachments (Terms of Use)

Description mj797980 2013-11-23 09:51:54 UTC
Description of problem:
SELinux is preventing /usr/bin/qemu-system-i386 from 'open' accesses on the file /mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482/Fedora-Live-Desktop-i686-20-Beta-5.iso.

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

If you believe that qemu-system-i386 should be allowed open access on the Fedora-Live-Desktop-i686-20-Beta-5.iso 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-system-i38 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:system_r:svirt_tcg_t:s0:c576,c714
Target Context                system_u:object_r:iso9660_t:s0
Target Objects                /mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482/Fedora-
                              Live-Desktop-i686-20-Beta-5.iso [ file ]
Source                        qemu-system-i38
Source Path                   /usr/bin/qemu-system-i386
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           qemu-system-x86-1.4.2-13.fc19.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.13.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.11.8-200.fc19.i686 #1 SMP Wed
                              Nov 13 16:55:29 UTC 2013 i686 i686
Alert Count                   1
First Seen                    2013-11-23 01:42:14 PST
Last Seen                     2013-11-23 01:42:14 PST
Local ID                      c0c88134-ea4e-4df2-aa9d-1903756a97c6

Raw Audit Messages
type=AVC msg=audit(1385199734.784:575): avc:  denied  { open } for  pid=22987 comm="qemu-system-i38" path="/mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482/Fedora-Live-Desktop-i686-20-Beta-5.iso" dev="sr0" ino=1410 scontext=unconfined_u:system_r:svirt_tcg_t:s0:c576,c714 tcontext=system_u:object_r:iso9660_t:s0 tclass=file


type=SYSCALL msg=audit(1385199734.784:575): arch=i386 syscall=open success=yes exit=EFAULT a0=b96e7de0 a1=88800 a2=0 a3=0 items=0 ppid=1 pid=22987 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=(none) comm=qemu-system-i38 exe=/usr/bin/qemu-system-i386 subj=unconfined_u:system_r:svirt_tcg_t:s0:c576,c714 key=(null)

Hash: qemu-system-i38,svirt_tcg_t,iso9660_t,file,open

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.8-200.fc19.i686
type:           libreport

Comment 1 Miroslav Grepl 2013-11-25 14:05:38 UTC

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


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