[libvirt-users] Virsh+QEMU, SSH issue on compiled libvirt

Eric Blake eblake at redhat.com
Thu Mar 7 21:01:16 UTC 2013


On 03/07/2013 12:37 PM, Saravanan Shanmugham (sarvi) wrote:

> 
> Just changing
> # define LIBVIRTD_PRIV_UNIX_SOCKET LOCALSTATEDIR
> "/run/libvirt/libvirt-sock"
> # define LIBVIRTD_PRIV_UNIX_SOCKET_RO LOCALSTATEDIR
> "/run/libvirt/libvirt-sock-ro"
> To
> # define LIBVIRTD_PRIV_UNIX_SOCKET "/var" "/run/libvirt/libvirt-sock"
> # define LIBVIRTD_PRIV_UNIX_SOCKET_RO "/var" "/run/libvirt/libvirt-sock-ro"
> 
> Fixed the problem and things worked fine.
> 
> It would be nice for a client only builds to be able to control through a
> ./configure argument or through some other .conf file where the server
> expects to find its socket file.

But you DO have that capability:

./configure --localstatedir=/var

> 
> That said, I am wondering why the client has to know where the server
> maintains its libvirt-sock files? Can't client and the server both talk in
> relative path terms instead of absolute?

You're welcome to propose a patch along those lines.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130307/e2652294/attachment.sig>


More information about the libvirt-users mailing list