[Users] [User] why VM image owner change to root after stop the vm

Martin Kletzander mkletzan at redhat.com
Wed Jul 25 09:56:18 UTC 2012


On 07/25/2012 10:36 AM, T-Sinjon wrote:
> 
> Dear everyone:
> 
> Description
> When i create a vm , the vm owner is vdsm:kvm(36:36)
> 
> when i start a vm , the vm owner change to qemu:qemu(107:107)
> -rw-rw----. 1 qemu qemu 107374182400 Jul 25  2012 d1e6b671-6b48-4964-9c56-22847e9b83df
> -rw-r--r--. 1 vdsm kvm           269 Jul 25  2012 d1e6b671-6b48-4964-9c56-22847e9b83df.meta
> 
> then i stop the vm , the vm owner change to root:root
> -rw-rw----. 1 root root 107374182400 Jul 25  2012 d1e6b671-6b48-4964-9c56-22847e9b83df
> -rw-r--r--. 1 vdsm kvm           269 Jul 25  2012 d1e6b671-6b48-4964-9c56-22847e9b83df.meta
> 
> then , i cannot start the vm , on the web logs event:
> 

Just out of curiosity (it won't probably won't be the cause of the
problem), do you have dynamic_ownership=0 in /etc/libvirt/qemu.conf ?

Martin



More information about the Users mailing list