Description of problem: I'm using virt-manager to start create Qemu machines. When I finish to create them / start them i get lots of Selinux messages. I already tried to relabel the files stated there, but it does not fix the issues. Version-Release number of selected component (if applicable): qemu-0.9.1-5.fc9.i386 How reproducible: Always Steps to Reproduce: 1. Create qemu virtual machine using virt-manager 2. 3. Actual results: SELinux errors
Created attachment 303633 [details] selinux alerts i encounter
David-is this really a qemu issue or should this be reassigned to selinux-targeted-policy?
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Assignee, could you please reply to the previous question? If you won't reply in one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.
Where did you locate your disk images ? As of Fedora 9, if you are running with SELinux enabled & enforcing, disk images need to be located under /var/lib/libvirt/images/
(In reply to comment #5) > Where did you locate your disk images ? > > As of Fedora 9, if you are running with SELinux enabled & enforcing, disk images > need to be located under /var/lib/libvirt/images/ I think this might be the problem. I tried installing WinXP from the CD under qemu-kvm and it worked fine. Then I repeated the installation copying the iso to my home directory and virt-manager failed starting the virtual machine because SELinux forbids access to the iso image. I tried changing the context of the iso image as suggested by the troubleshooter but it didn't work. I had to change SELinux to permissive mode temporarily while doing the installation.
Missing info from reporter, closing
Mmmm, I promise I'll try this on my updated Fedora 10 laptop and post a comment here. But, why images need to be located in /var/lib/libvirt/images/? can't a mortal user use his home directory? I think Qemu/KVM should work without root privileges.