Re: [libvirt] [PATCH] Don't chown qemu saved image back to root after save if dynamic_ownership=0

2011-01-06 Thread Laine Stump
On 01/06/2011 05:50 AM, Daniel P. Berrange wrote: On Wed, Jan 05, 2011 at 05:03:48PM -0500, Laine Stump wrote: When dynamic_ownership=0, saved images must be owned by the same uid as is used to run the qemu process, otherwise restore won't work. To accomplish this,

Re: [libvirt] [PATCH] Don't chown qemu saved image back to root after save if dynamic_ownership=0

2011-01-06 Thread Laine Stump
On 01/05/2011 05:26 PM, Eric Blake wrote: On 01/05/2011 03:03 PM, Laine Stump wrote: When dynamic_ownership=0, saved images must be owned by the same uid as is used to run the qemu process, otherwise restore won't work. To accomplish this, qemuSecurityDACRestoreSavedStateLabel() needs to simply

[libvirt] [PATCH] Don't chown qemu saved image back to root after save if dynamic_ownership=0

2011-01-05 Thread Laine Stump
When dynamic_ownership=0, saved images must be owned by the same uid as is used to run the qemu process, otherwise restore won't work. To accomplish this, qemuSecurityDACRestoreSavedStateLabel() needs to simply return when it's called. This fix is in response to:

Re: [libvirt] [PATCH] Don't chown qemu saved image back to root after save if dynamic_ownership=0

2011-01-05 Thread Eric Blake
On 01/05/2011 03:03 PM, Laine Stump wrote: When dynamic_ownership=0, saved images must be owned by the same uid as is used to run the qemu process, otherwise restore won't work. To accomplish this, qemuSecurityDACRestoreSavedStateLabel() needs to simply return when it's called. This fix is