GNU bug report logs - #32075
netcat with '-U' option for connection virt-manager to libvirt over SSH

Previous Next

Package: guix;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Fri, 6 Jul 2018 23:34:02 UTC

Severity: normal

To reply to this bug, email your comments to 32075 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#32075; Package guix. (Fri, 06 Jul 2018 23:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleg Pykhalov <go.wigust <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 06 Jul 2018 23:34:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: netcat with '-U' option for connection virt-manager to libvirt over
 SSH
Date: Sat, 07 Jul 2018 02:31:35 +0300
[Message part 1 (text/plain, inline)]
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://natsu <at> secret.foo/system.

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

Libvirt URI is: qemu+ssh://natsu <at> secret.foo/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.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32075; Package guix. (Wed, 11 Jul 2018 11:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 32075 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 32075 <at> debbugs.gnu.org
Subject: Re: bug#32075: netcat with '-U' option for connection virt-manager to
 libvirt over SSH
Date: Wed, 11 Jul 2018 13:15:25 +0200
Hi Oleg,

Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> libvirtError: End of file while reading data: nc: invalid option -- 'U'
> Try `nc --help' for more information.: Input/output error

There are several implementation of Netcat, and presumably libvirt
expects a different one.

Could you check which implementation you have on other distros?

TIA,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#32075; Package guix. (Wed, 11 Jul 2018 16:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 32075 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>, 32075 <at> debbugs.gnu.org
Subject: Re: bug#32075: netcat with '-U' option for connection virt-manager
 to libvirt over SSH
Date: Wed, 11 Jul 2018 12:10:06 -0400
[Message part 1 (text/plain, inline)]
On Wed, Jul 11, 2018 at 01:15:25PM +0200, Ludovic Courtès wrote:
> Hi Oleg,
> 
> Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
> 
> > libvirtError: End of file while reading data: nc: invalid option -- 'U'
> > Try `nc --help' for more information.: Input/output error
> 
> There are several implementation of Netcat, and presumably libvirt
> expects a different one.
> 
> Could you check which implementation you have on other distros?

Besides the 'netcat' package, there are netcat implementations that
offer the '-U' option provided by the nmap and LibreSSL packages.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32075; Package guix. (Sat, 30 Dec 2023 04:18:01 GMT) Full text and rfc822 format available.

Message #14 received at 32075 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 32075 <at> debbugs.gnu.org,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: bug#32075: netcat with '-U' option for connection virt-manager
 to libvirt over SSH
Date: Fri, 29 Dec 2023 23:16:57 -0500
Hi Oleg,

Oleg Pykhalov <go.wigust <at> gmail.com> writes:

> 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://natsu <at> secret.foo/system.
>
> The remote host requires a version of netcat/nc which supports the -U option.
>
> Libvirt URI is: qemu+ssh://natsu <at> secret.foo/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---

I'm missing reproduction steps; is this still a problem with our current
libvirt and virt-manager packages?

-- 
Thanks,
Maxim




This bug report was last modified 1 year and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.