Re: Run libvirtd from git: virsh hangs

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

 



On 04/05/2018 03:59 PM, Mathieu Tarral wrote:
> Hi,
> 
> I managed to compile libvirt from the git repo,
> now i have some trouble to run it.
> 
> This is what i did:
> 
> I configured the source to use /var because i wanted the socket
> to be at the same place as the system one
> (/var/run/libvirt/libvirt-sock)
> ./configure --prefix=$HOME/usr --localstatedir=/var
> make
> make install
> 
> at this point i stopped my system libvirtd and virtlogd
> sudo systemctl stop libvirtd
> sudo systemctl stop virtlogd
> 
> And then i launched my custom libvirtd and virtlogd
> cd $HOME/usr/sbin
> sudo ./libvirtd -v
> sudo ./virtlogd -v
> 
> After that i tried to list the available domains with virsh (using the
> system binary)
> sudo virsh
> virsh # list --all
> 
> And this call hangs forever.
> There is no more output in libvirtd stdout/stderr, even if i set log_level to 1.
> 
> Did i miss anything in the configuration ?

You can enable debugging for virsh too:

LIBVIRT_DEBUG=1 ./tools/virsh list --all

Alternatively, you can run the libvirtd under strace to see if it
accepts() the connection request. Seems like virsh is trying to connect
to a different socket than libvirtd is listening to.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux