
31 Jul
2009
31 Jul
'09
8:28 a.m.
On Thu, 2009-07-30 at 15:00 +0100, Daniel P. Berrange wrote:
There is a minor bug when running QEMU non-root, and having capng enabled. libvirt is unable to write the PID file in /var/run/libvirt/qemu, since its now owned by 'qemu', but libvirtd has dropped all capabilties at this point. The fix is to delay dropping capabilities until after the PID file has been created. We should also be sure to kill the child if writing the PID file fails
I haven't looked into it much yet, but don't we need to open up the permissions on /var/lib/libvirt/images now? At least from 700 to 711 so qemu can open images? Cheers, Mark.