Bug 550608 (svirtfusefs) - SELinux is preventing /usr/bin/qemu-system-x86_64 "read" access on Fedora-12-x86_64-DVD.iso.
Summary: SELinux is preventing /usr/bin/qemu-system-x86_64 "read" access on Fedora-12-...
Keywords:
Status: CLOSED ERRATA
Alias: svirtfusefs
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:260f2689054...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-26 09:48 UTC by tarek
Modified: 2010-01-08 20:11 UTC (History)
2 users (show)

Fixed In Version: 3.6.32-66.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-08 20:11:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description tarek 2009-12-26 09:48:41 UTC
Summary:

SELinux is preventing /usr/bin/qemu-system-x86_64 "read" access on
Fedora-12-x86_64-DVD.iso.

Detailed Description:

SELinux denied access requested by qemu-system-x86. It is not expected that this
access is required by qemu-system-x86 and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:svirt_t:s0:c300,c711
Target Context                system_u:object_r:fusefs_t:s0
Target Objects                Fedora-12-x86_64-DVD.iso [ file ]
Source                        qemu-system-x86
Source Path                   /usr/bin/qemu-system-x86_64
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           qemu-system-x86-0.11.0-12.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-55.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.6-162.fc12.x86_64 #1 SMP Fri Dec 4 00:06:26
                              EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Mon 14 Dec 2009 06:25:42 PM EET
Last Seen                     Mon 14 Dec 2009 06:25:42 PM EET
Local ID                      7dcba412-c341-4354-bbb5-a917ccceeb29
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1260807942.731:24077): avc:  denied  { read } for  pid=17332 comm="qemu-system-x86" name="Fedora-12-x86_64-DVD.iso" dev=sda2 ino=3972 scontext=system_u:system_r:svirt_t:s0:c300,c711 tcontext=system_u:object_r:fusefs_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1260807942.731:24077): arch=c000003e syscall=2 success=no exit=-13 a0=7fffd732e7a0 a1=1000 a2=1a4 a3=7fffd7329330 items=0 ppid=1 pid=17332 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:c300,c711 key=(null)



Hash String generated from  selinux-policy-3.6.32-55.fc12,catchall,qemu-system-x86,svirt_t,fusefs_t,file,read
audit2allow suggests:

#============= svirt_t ==============
allow svirt_t fusefs_t:file read;

Comment 1 Daniel Walsh 2009-12-29 21:40:15 UTC
Added boolean virt_use_fusefs

You can add these rules for now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.32-65.fc12.noarch

Comment 2 Fedora Update System 2010-01-04 21:55:01 UTC
selinux-policy-3.6.32-66.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-66.fc12

Comment 3 Fedora Update System 2010-01-05 22:51:06 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0184

Comment 4 Fedora Update System 2010-01-08 20:05:52 UTC
selinux-policy-3.6.32-66.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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