[libvirt-users] Pools are not persistent

Ján Tomko jtomko at redhat.com
Mon Jun 10 08:13:29 UTC 2013


On 06/09/2013 09:58 PM, Daniel Bareiro wrote:
> Ho, Eric.
> 
> 
> Still, I see the <owner> </owner> and <group> </group> in the
> configuration file created after creating a pool once migrated to
> libvirt-bin amd64, have values that do not seem to correspond with UID
> and GID. This is normal?
> 

These values are -1 printed as an unsigned 32-bit number. We use -1 to mean
default (the uid/gid libvirt is running as).

This gets parsed as a signed integer and fails on 32-bit, since it's too big.
But on 64-bit it works the same as specifying '-1' would.

It's not normal and it's printed as -1 again since 0.10.0, fixed by commit
37a1012 mentioned by Eric in the last e-mail.

> <pool type='logical'>
>   <target>
>     <path>/dev/vms</path>
>     <permissions>
>       <mode>0700</mode>
>       <owner>4294967295</owner>
>       <group>4294967295</group>
>     </permissions>
>   </target>
> </pool>
> 

Jan




More information about the libvirt-users mailing list