Bug 479614 - Unable to install new domain due to SELinux policy error
Summary: Unable to install new domain due to SELinux policy error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-12 04:29 UTC by James Morris
Modified: 2009-04-03 17:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-04-03 17:37:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Morris 2009-01-12 04:29:16 UTC
In current rawhide, I get this when attempting to install a new domain with virt-manager.


virt-manager-0.6.0-6.fc11.x86_64
kernel-2.6.29-0.25.rc0.git14.fc11.x86_64



Additional Information:

Source Context                unconfined_u:system_r:qemu_t:s0
Target Context                system_u:object_r:ptmx_t:s0
Target Objects                ptmx [ chr_file ]
Source                        qemu-kvm
Source Path                   /usr/bin/qemu-kvm
Port                          <Unknown>
Host                          amd
Source RPM Packages           kvm-81-2.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.2-2.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     amd
Platform                      Linux amd 2.6.29-0.25.rc0.git14.fc11.x86_64 #1 SMP
                              Sat Jan 10 02:55:41 EST 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Mon Jan 12 15:23:15 2009
Last Seen                     Mon Jan 12 15:23:40 2009
Local ID                      6e5595ff-490b-46de-8fba-cf997edce1f9
Line Numbers                  

Raw Audit Messages            

node=amd type=AVC msg=audit(1231734220.519:70): avc:  denied  { read write } for  pid=2951 comm="qemu-kvm" name="ptmx" d
ev=tmpfs ino=474 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=system_u:object_r:ptmx_t:s0 tclass=chr_file

node=amd type=SYSCALL msg=audit(1231734220.519:70): arch=c000003e syscall=2 success=no exit=-13 a0=7fdaf5d0181f a1=2 a2=
0 a3=7ffffe6144f0 items=0 ppid=2836 pid=2951 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) s
es=3 comm="qemu-kvm" exe="/usr/bin/qemu-kvm" subj=unconfined_u:system_r:qemu_t:s0 key=(null)

Comment 1 Daniel Berrangé 2009-04-03 17:37:50 UTC
I've just tested this and it appears to work fine in current rawhide, so assuming this was an earlier policy bug. Re-open if it recurrs...


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