Bug 572354
Summary: | SELinux is preventing /usr/bin/qemu "read write" access on 007. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sean Bruno <sbruno> | ||||||
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 12 | CC: | berrange, clalance, crobinso, dwalsh, itamar, jforbes, mgrepl, veillard, virt-maint | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | setroubleshoot_trace_hash:fc462220af01eb80bcb05149ec3db142f839a0780fcaf2268aa06c3395bff243 | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-05-17 19:06:05 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sean Bruno
2010-03-10 23:23:25 UTC
Is this a case of libvirt failing to label the usb device or could it be udev coming in after the fact and labeling it back. Please provide the libvirt RPM version info, and also 'virsh dumpxml $GUESTNAME' and /var/log/libvirt/$GUEST.log Dan, this is most likely just a limitation of libvirt in F12 not being able to label certain types of devices correctly. The guest XML should confirm. This will be addressed in F13 regardless libvirt --> libvirt-0.7.1-15.fc12.x86_64 Created attachment 400310 [details]
Output of sudo virsh dumpxml Fedora12
Created attachment 400311 [details]
/var/log/libvirt/qemu/ Logfile
Hmm, the guest XML doesn't show it for some reason, but the log file indicates you were trying to pass a host PCI device to the guest: LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.11 -m 2048 -smp 2 -name Fedora12 -uuid 04b21a08-80ca-016d-c641-8ad0db220460 -monitor unix:/var/lib/libvirt/qemu/Fedora12.monitor,server,nowait -boot c -drive file=/var/lib/libvirt/images/Fedora12.img,if=virtio,index=0,boot=on,format=raw -drive file=,if=ide,media=cdrom,index=2 -net nic,macaddr=52:54:00:7b:b6:f3,vlan=0,model=virtio,name=virtio.0 -net tap,fd=22,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:0 -k en-us -vga cirrus -soundhw es1370 -pcidevice host=15:00.1 And the selinux trace references a USB issue. Sean, can you make sure you are attaching the correct XML and logfile? Did you attempt to attach a USB device through virt-manager, then start the guest which caused this issue? Yep. I attempted to add the PCI device which corresponded to my USB controller. Related bug also filed: https://bugzilla.redhat.com/show_bug.cgi?id=573850 *** This bug has been marked as a duplicate of bug 504444 *** |