Red Hat Bugzilla – Bug 1266628
libvirt 18.104.22.168 tries to change ownership of ISOs even though dynamic_ownership is set to 0
Last modified: 2015-10-09 02:14:44 EDT
[root@adam libvirt]# grep dynamic /etc/libvirt/qemu.conf
# Whether libvirt should dynamically change file ownership
dynamic_ownership = 0
yet, with libvirt 22.214.171.124, when I start a VM, it tries to change ownership of the ISO file attached to it (and fails, as it's on a network share). This prevents me running any VMs, in my setup.
Downgraded to 1.2.18, it works fine.
I kinda suspect this change:
which adds a virSecurityDACSetOwnership call which is not protected by a block like this:
which several of the others are. But not *all* of them are, and I'm not 100% sure exactly what that virSecurityDACDomainSetDirLabel() is for or what it operates on, so IMBW.
Thanks for the report... you were in the right ballpark but the breakage is a bit more subtle. Patch posted upstream:
Haha, whoops. :)
libvirt-126.96.36.199-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-94b173da51
libvirt-188.8.131.52-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update libvirt'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-94b173da51
libvirt-184.108.40.206-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.