Bug 532478
| Summary: | SELinux is preventing /usr/bin/qemu-kvm "write" access on sr0. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Plumb <adamplumb> | ||||
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 12 | CC: | berrange, dwalsh, mgrepl, robatino | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | setroubleshoot_trace_hash:f52e5d18a7df648c645910fe27b1785e123968f9ade0d6c3cd36296ce0dc2c9e | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2009-12-01 20:25:44 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
Adam Plumb
2009-11-02 15:07:15 UTC
I think libvirt has labeled this device incorrectly. If the image is r/w and shared it should be labled svirt_image_t:s0 If it is not share it should be labled svirt_image_t:s0:c98.c190 If it is readonly it is labeled correctly. Can you provide the guest XML configuration for this guest. ie, the 'virsh dumpxml GUESTNAME' output, or the /etc/libvirt/qemu/$GUESTNAME.log file, and also the /var/log/libvirt/qemu/$GUESTNAME.log logfile I suspect this may in fact be a QEMU bug, with it trying to write to a device it should be treating as readonly. Created attachment 367176 [details]
Guest XML file
I've attached the guest.log file as requested. FYI, this is on an updated Fedora 12 Rawhide machine. The guest is CentOS 5 and I'm using a DVD to install, not an ISO that is on the computer. My cdrom device is /dev/sr0. This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Seeing this on F12 Final x86_64 when attempting to create a F12 ppc guest. *** This bug has been marked as a duplicate of bug 537163 *** |