Bug 1033823

Summary: SELinux is preventing /usr/bin/qemu-system-i386 from 'getattr' accesses on the filesystem /mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482.
Product: [Fedora] Fedora Reporter: mj797980
Component: 0adAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: cheese, dominick.grift, dwalsh, lvrabec, mgrepl, paulo.cesar.pereira.de.andrade
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:f3b52672e95dcdd067c18c2f59e6ec10699030efa457cb8878b904fd6c47ecf2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 19:22:20 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 mj797980 2013-11-23 12:05:55 UTC
Description of problem:
SELinux is preventing /usr/bin/qemu-system-i386 from 'getattr' accesses on the filesystem /mnt/ata-ATAPI_DVD_D_DH16D3S_292901423482.

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

If you believe that qemu-system-i386 should be allowed getattr access on the ata-ATAPI_DVD_D_DH16D3S_292901423482 filesystem 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 [
                              filesystem ]
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                      8c5abe6b-9533-4feb-90cb-dcb513833a3b

Raw Audit Messages
type=AVC msg=audit(1385199734.784:576): avc:  denied  { getattr } for  pid=22987 comm="qemu-system-i38" name="/" dev="sr0" ino=1408 scontext=unconfined_u:system_r:svirt_tcg_t:s0:c576,c714 tcontext=system_u:object_r:iso9660_t:s0 tclass=filesystem


type=SYSCALL msg=audit(1385199734.784:576): arch=i386 syscall=fstatfs64 success=yes exit=0 a0=e a1=54 a2=bfd525a8 a3=b97021c8 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,filesystem,getattr

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
*** Bug 1033820 has been marked as a duplicate of this bug. ***

Comment 2 Fedora End Of Life 2015-01-09 20:40:35 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-02-17 19:22:20 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.