Non-Root not able to use openReadOnly()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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."

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux