Bug 582030
Summary: | QEMU live migration with selinux and libvirt throws an error | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Chris Lalancette <clalance> | |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> | |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 13 | CC: | berrange, clalance, crobinso, dwalsh, itamar, jforbes, mgrepl, veillard, virt-maint | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 600279 (view as bug list) | Environment: | ||
Last Closed: | 2011-06-02 16:11:21 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 600279 |
Description
Chris Lalancette
2010-04-13 21:28:41 UTC
Oh, I should also mention that my disk image is shared from this machine via nfs with /etc/exports that looks like: /var/lib/libvirt/images *(rw,no_root_squash) Also, the versions of my packages are: kernel-2.6.33.1-19.fc13.x86_64 libvirt-0.7.7-1.fc13.x86_64 qemu-kvm-0.12.3-6.fc13.x86_64 I should also clarify my statement about setting SELinux to permissive mode. If I set SELinux to permissive mode on the *source* of the migration, then I get a little bit further, but then I run into another issue: [root@localhost ~]# virsh migrate --live f13x86_64 qemu+ssh://locutus.usersys.redhat.com/system error: internal error Process exited while reading console log output: char device redirected to /dev/pts/2 qemu: could not open disk image /var/lib/libvirt/images/f13x86_64.dsk: Permission denied If I then set SELinux to permissive on the destination, things succeed. This appears to show that the NFS server is unable to read the files labelled svirt_image_t which I think is probably a selinuxpolicy bug ? Miroslav, Need to add mcs_file_read_all(kernel_t) mcs_file_write_all(kernel_t) Added to selinux-policy-3.7.19-25.fc13 This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I don't really have the time to follow up on this. Given that there have been substantial changes in qemu/libvirt, especially in the migration area, I'm just going to close this bug out. Chris Lalancette |