Bug 908136 - SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'module_request' accesses on the system .
Summary: SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'module_request' accesses...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a8557e588dd113ad8997180017e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 01:16 UTC by juanp766
Modified: 2013-02-18 06:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-18 06:56:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description juanp766 2013-02-06 01:16:57 UTC
Description of problem:
while trying to make a virtual machine with virtual machine manager and xen
SELinux is preventing /usr/lib/xen/bin/qemu-dm from 'module_request' accesses on the system .

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

If you believe that qemu-dm should be allowed module_request access on the  system 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:system_r:kernel_t:s0
Target Objects                 [ system ]
Source                        qemu-dm
Source Path                   /usr/lib/xen/bin/qemu-dm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xen-runtime-4.2.1-5.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-66.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.10-4.fc18.x86_64 #1 SMP Tue
                              Dec 11 18:01:27 UTC 2012 x86_64 x86_64
Alert Count                   4
First Seen                    2013-02-05 18:20:24 CST
Last Seen                     2013-02-05 19:01:16 CST
Local ID                      bfee4242-65fd-4ded-acce-a08a1d7d37cc

Raw Audit Messages
type=AVC msg=audit(1360112476.522:560): avc:  denied  { module_request } for  pid=26678 comm="qemu-dm" kmod="char-major-10-200" scontext=system_u:system_r:xend_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system


type=SYSCALL msg=audit(1360112476.522:560): arch=x86_64 syscall=open success=no exit=ENODEV a0=4f2de5 a1=2 a2=7fff9d03cccc a3=3e15330500 items=0 ppid=2536 pid=26678 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,kernel_t,system,module_request

audit2allow
audit2allow -R

Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.10-4.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-02-06 08:38:35 UTC
Fixed in selinux-policy-3.11.1-76.fc18.noarch

Comment 2 Fedora Update System 2013-02-15 22:42:53 UTC
selinux-policy-3.11.1-78.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-78.fc18

Comment 3 Fedora Update System 2013-02-17 03:21:53 UTC
Package selinux-policy-3.11.1-78.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-78.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2588/selinux-policy-3.11.1-78.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-02-18 06:56:30 UTC
selinux-policy-3.11.1-78.fc18 has been pushed to the Fedora 18 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.