what is virtunixd ? Is there such a daemon?

Hello, as I experiment with virsh migration commands (and probably I do things that don't make sense), I got an error I could not understand: # virsh migrate centos7 unix:///tmp/netcat.sock error: Failed to connect socket to '/var/run/libvirt/virtunixd-sock': No such file or directory What is "/var/run/libvirt/virtunixd-sock" ? Should I have a "virtunixd" process running? I am building with non-modularized libvirtd currently, but I could not find a virtunixd module either... Thanks, Claudio

On 4/7/22 04:19, Claudio Fontana wrote:
Hello,
as I experiment with virsh migration commands (and probably I do things that don't make sense),
I got an error I could not understand:
# virsh migrate centos7 unix:///tmp/netcat.sock error: Failed to connect socket to '/var/run/libvirt/virtunixd-sock': No such file or directory
What is "/var/run/libvirt/virtunixd-sock" ?
Should I have a "virtunixd" process running? I am building with non-modularized libvirtd currently, but I could not find a virtunixd module either...
Seems wrong syntax. Try below? virsh migrate centos7 unix:///system?socket=/tmp/netcat.sock virsh migrate centos7 unix:///?socket=/tmp/netcat.sock [https://fossies.org/linux/libvirt/docs/manpages/virsh.rst] Regards, Liang
Thanks,
Claudio

On 4/7/22 5:23 PM, Liang Yan wrote:
On 4/7/22 04:19, Claudio Fontana wrote:
Hello,
as I experiment with virsh migration commands (and probably I do things that don't make sense),
I got an error I could not understand:
# virsh migrate centos7 unix:///tmp/netcat.sock error: Failed to connect socket to '/var/run/libvirt/virtunixd-sock': No such file or directory
What is "/var/run/libvirt/virtunixd-sock" ?
Should I have a "virtunixd" process running? I am building with non-modularized libvirtd currently, but I could not find a virtunixd module either...
Seems wrong syntax. Try below?
virsh migrate centos7 unix:///system?socket=/tmp/netcat.sock virsh migrate centos7 unix:///?socket=/tmp/netcat.sock [https://fossies.org/linux/libvirt/docs/manpages/virsh.rst]
Regards, Liang
Doh :-) Thanks Liang! Ciao, Claudio

On Thu, Apr 07, 2022 at 10:19:13AM +0200, Claudio Fontana wrote:
Hello,
as I experiment with virsh migration commands (and probably I do things that don't make sense),
I got an error I could not understand:
# virsh migrate centos7 unix:///tmp/netcat.sock error: Failed to connect socket to '/var/run/libvirt/virtunixd-sock': No such file or directory
The URI here is a libvirt URI for connecting to a libvirt daemon. The URI scheme is used to form the socket path. 'unix' is not a known libvirt URI scheme, hence no /var/run/libvirt/virtunixd-sock will exist. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (3)
-
Claudio Fontana
-
Daniel P. Berrangé
-
Liang Yan