Subject: bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH

From: Oleg Pykhalov <[email-masked]>
Date: Sat, 07 Jul 2018 02:31:35 +0300

Hello Guix,

I try to use virt-manager for connection over SSH from Linux Mint to
GuixSD running libvirt.

Seems we need to package netcat which includes ‘-U’ option:
--8<---------------cut here---------------start------------->8--- Unable
Unable to connect to libvirt qemu+ssh://[email-masked]/system.

The remote host requires a version of netcat/nc which supports the -U option.

Libvirt URI is: qemu+ssh://[email-masked]/system

Traceback (most recent call last):
  File "/gnu/store/pakiz00asgm6cq5l4xwbwzksd0z576iq-virt-manager-1.5.1/share/virt-manager/virtManager/connection.py", line 1036, in _do_open
    self._backend.open(self._do_creds_password)
  File "/gnu/store/pakiz00asgm6cq5l4xwbwzksd0z576iq-virt-manager-1.5.1/share/virt-manager/virtinst/connection.py", line 144, in open
    open_flags)
  File "/gnu/store/xdyrp8fbcgk2cnyck4yda2wl1vql1m82-python2-libvirt-4.1.0/lib/python2.7/site-packages/libvirt.py", line 105, in openAuth
    if ret is None:raise libvirtError('virConnectOpenAuth() failed')
libvirtError: End of file while reading data: nc: invalid option -- 'U'
Try `nc --help' for more information.: Input/output error
--8<---------------cut here---------------end--------------->8---

Thanks,
Oleg.