Bug 478901 - virt-install causes denials when trying to install a new kvm guest
Summary: virt-install causes denials when trying to install a new kvm guest
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-05 21:48 UTC by Jesse Keating
Modified: 2013-01-10 03:26 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-19 15:45:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jesse Keating 2009-01-05 21:48:07 UTC
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.171:18): avc:  denied  { read write } for  pid=4277 c
omm="qemu-kvm" name="ptmx" dev=tmpfs ino=445 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=system_u:object_r
:ptmx_t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.172:19): avc:  denied  { open } for  pid=4277 comm="q
emu-kvm" name="ptmx" dev=tmpfs ino=445 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=system_u:object_r:ptmx_
t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.173:20): avc:  denied  { ioctl } for  pid=4277 comm="
qemu-kvm" path="/dev/ptmx" dev=tmpfs ino=445 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=system_u:object_r
:ptmx_t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.173:21): avc:  denied  { getattr } for  pid=4277 comm
="qemu-kvm" path="/dev/pts/2" dev=devpts ino=4 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=unconfined_u:ob
ject_r:devpts_t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.174:22): avc:  denied  { read write } for  pid=4277 c
omm="qemu-kvm" name="2" dev=devpts ino=4 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=unconfined_u:object_r
:devpts_t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.175:23): avc:  denied  { open } for  pid=4277 comm="q
emu-kvm" name="2" dev=devpts ino=4 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=unconfined_u:object_r:devpt
s_t:s0 tclass=chr_file
Jan  5 16:38:47 reducto kernel: type=1400 audit(1231191527.176:24): avc:  denied  { ioctl } for  pid=4277 comm="
qemu-kvm" path="/dev/pts/2" dev=devpts ino=4 scontext=unconfined_u:system_r:qemu_t:s0 tcontext=unconfined_u:obje
ct_r:devpts_t:s0 tclass=chr_file

This came from the command line of:

$ sudo virt-install -b br0 --vnc --pxe -v --os-type=linux --os-variant=fedora10 -r 1024 -n sigul --disk path=/dev/data/signserv

Comment 1 Daniel Walsh 2009-01-13 15:42:53 UTC
Miroslav add

term_use_generic_ptys(qemu_t)
term_use_ptmx(qemu_t)

To F10 policy

Comment 2 Miroslav Grepl 2009-01-21 12:44:14 UTC
Fixed in selinux-policy-3.5.13-40.fc10.noarch

Comment 3 Bug Zapper 2009-06-09 10:35:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Miroslav Grepl 2009-08-19 15:45:40 UTC
It was fixed in F10 selinux-policy, so I am changing back to F10 and closing it.


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