Bug 871300 - SELinux is preventing /usr/bin/qemu-system-x86_64 from 'open' accesses on the file /mnt/36A68AD2A68A91D3/My Virtual PCs/win2000/win2000.vdi.
Summary: SELinux is preventing /usr/bin/qemu-system-x86_64 from 'open' accesses on the...
Keywords:
Status: CLOSED NOTABUG
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:d124388b1722af68e5d79d0be48...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-30 07:44 UTC by StefanTudor
Modified: 2012-10-30 19:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-30 19:07:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-30 07:44 UTC, StefanTudor
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-30 07:45 UTC, StefanTudor
no flags Details

Description StefanTudor 2012-10-30 07:44:56 UTC
Additional info:
libreport version: 2.0.16
kernel:         3.6.3-1.fc17.x86_64

description:
:SELinux is preventing /usr/bin/qemu-system-x86_64 from 'open' accesses on the file /mnt/36A68AD2A68A91D3/My Virtual PCs/win2000/win2000.vdi.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that qemu-system-x86_64 should be allowed open access on the win2000.vdi 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-x86 /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:svirt_t:s0:c581,c823
:Target Context                system_u:object_r:fusefs_t:s0
:Target Objects                /mnt/36A68AD2A68A91D3/My Virtual
:                              PCs/win2000/win2000.vdi [ file ]
:Source                        qemu-system-x86
:Source Path                   /usr/bin/qemu-system-x86_64
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           qemu-system-x86-1.0.1-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.3-1.fc17.x86_64 #1 SMP Mon Oct
:                              22 15:32:35 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-10-30 09:36:39 EET
:Last Seen                     2012-10-30 09:36:39 EET
:Local ID                      8de37a3b-56de-45c5-bd71-ddbcd5204a19
:
:Raw Audit Messages
:type=AVC msg=audit(1351582599.640:271): avc:  denied  { open } for  pid=5170 comm="qemu-system-x86" path=2F6D6E742F333641363841443241363841393144332F4D79205669727475616C205043732F77696E323030302F77696E323030302E766469 dev="sda3" ino=47 scontext=system_u:system_r:svirt_t:s0:c581,c823 tcontext=system_u:object_r:fusefs_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1351582599.640:271): arch=x86_64 syscall=open success=no exit=EACCES a0=7f43a9811a30 a1=81002 a2=0 a3=48 items=0 ppid=1 pid=5170 auid=4294967295 uid=107 gid=107 euid=107 suid=107 fsuid=107 egid=107 sgid=107 fsgid=107 tty=(none) ses=4294967295 comm=qemu-system-x86 exe=/usr/bin/qemu-system-x86_64 subj=system_u:system_r:svirt_t:s0:c581,c823 key=(null)
:
:Hash: qemu-system-x86,svirt_t,fusefs_t,file,open
:
:audit2allow
:
:#============= svirt_t ==============
:#!!!! This avc can be allowed using the boolean 'virt_use_fusefs'
:
:allow svirt_t fusefs_t:file open;
:
:audit2allow -R
:
:#============= svirt_t ==============
:#!!!! This avc can be allowed using the boolean 'virt_use_fusefs'
:
:allow svirt_t fusefs_t:file open;
:

Comment 1 StefanTudor 2012-10-30 07:44:59 UTC
Created attachment 635393 [details]
File: type

Comment 2 StefanTudor 2012-10-30 07:45:02 UTC
Created attachment 635394 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-10-30 19:07:43 UTC
# setsebool -P virt_use_fusefs 1


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