[libvirt-users] Non-Root not able to use openReadOnly()
vipul borikar
vipulcell at gmail.com
Tue Apr 24 08:23:57 UTC 2012
Hi,
I have a code :
import libvirt
con = libvirt.openReadOnly(None)
print con.listDomainsID()
When i run the above code using root i get the proper output... but when i
use non-root user it givers be a empty list [ ]
If i change the 2nd line to
con = libvirt.open(qemu:///system)
It works.
I am using RHEL 6.1 with default kvm and libvirt.
unix_sock_group = "virt" in libvirtd.conf where virt is a group of
non-root user
group = "virt" in qemu.conf is set.
Any Ideas????
--
Thanks
Vipul Borikar
"Our task must be to free ourselves...by widening our circle of compassion
to embrace all living creatures and the whole of nature and its beauty."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120424/98434d4f/attachment.htm>
More information about the libvirt-users
mailing list