libvirt.so is not safe to use from setuid programs

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

 



Hi,

 

 

When trying to connect the HyperVisor from a binary  having  setuid bit set , then I got following error:

 

Unable to perform virConnectOpenReadOnly function error(internal error: libvirt.so is not safe to use from setuid programs)

 

My test software config is the following :

 

 

-rwsr-xr-x. 1 root root 3374956 Feb  4 13:45 test

 

As this test software needs S bit to be able to access O.S. metrics counters , how may I use it to retrieve  KVM metrics counters ?

 

Thx for help.

 

J.P. Ribeauville

 

P: +33.(0).1.47.17.20.49

.

Puteaux 3 Etage 5  Bureau 4

 

jpribeauville@xxxxxxxxx
http://www.axway.com

 

 

P Pensez à l’environnement avant d’imprimer.

 

 

_______________________________________________
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