[fedora-virt] KVM high available

Thomas Sjolshagen thomas at sjolshagen.net
Wed Jan 19 14:17:56 UTC 2011



On Wed, 19 Jan 2011 09:38:49 -0300, iarly selbir  wrote:  

Looking
at /var/lib/libvirt/images is there any attribute or permission here to
change? 

[root at kvmsrv002 libvirt]# pwd 
/var/lib/libvirt 


[root at kvmsrv001 libvirt]# ls -lZ 

drwx------ root root boot

drwx--x--x root root system_u:object_r:fusefs_t:s0 images 
drwx------
root root iptables 
drwx------ root root network 
drwx------ root root
qemu    

I don't recall what version of libvirt you're using, but on my
system (libvirt 0.8.3 in Fedora 14), the directory hosting the images
has owner/group of qemu:qemu. Additionally, nobody besides root has read
access to your directory with the disk image files. AFIK, the more
recent libvirtd's will switch to a lower privilege user (i.e. qemu) 

#
ls -lart 
total 16 
drwx--x--x. 3 root root 4096 Dec 10 13:46 .

drwxr-xr-x. 9 root root 4096 Dec 27 11:03 .. 
drwxr-xr-x. 11 qemu qemu
3864 Jan 19 09:15 cluster 

// Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/virt/attachments/20110119/4d0fc31b/attachment.html 


More information about the virt mailing list