Bug 479614 - Unable to install new domain due to SELinux policy error
Unable to install new domain due to SELinux policy error
Product: Fedora
Classification: Fedora
Component: virt-manager (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Berrange
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-01-11 23:29 EST by James Morris
Modified: 2009-04-03 13:37 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-04-03 13:37:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Morris 2009-01-11 23:29:16 EST
In current rawhide, I get this when attempting to install a new domain with virt-manager.


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 Berrange 2009-04-03 13:37:50 EDT
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.