unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH
@ 2018-07-06 23:31 Oleg Pykhalov
  2018-07-11 11:15 ` Ludovic Courtès
  2023-12-30  4:16 ` Maxim Cournoyer
  0 siblings, 2 replies; 4+ messages in thread
From: Oleg Pykhalov @ 2018-07-06 23:31 UTC (permalink / raw)
  To: 32075

[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]

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@secret.foo/system.

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

Libvirt URI is: qemu+ssh://natsu@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH
  2018-07-06 23:31 bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH Oleg Pykhalov
@ 2018-07-11 11:15 ` Ludovic Courtès
  2018-07-11 16:10   ` Leo Famulari
  2023-12-30  4:16 ` Maxim Cournoyer
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-07-11 11:15 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 32075

Hi Oleg,

Oleg Pykhalov <go.wigust@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’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH
  2018-07-11 11:15 ` Ludovic Courtès
@ 2018-07-11 16:10   ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2018-07-11 16:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 32075

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

On Wed, Jul 11, 2018 at 01:15:25PM +0200, Ludovic Courtès wrote:
> Hi Oleg,
> 
> Oleg Pykhalov <go.wigust@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH
  2018-07-06 23:31 bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH Oleg Pykhalov
  2018-07-11 11:15 ` Ludovic Courtès
@ 2023-12-30  4:16 ` Maxim Cournoyer
  1 sibling, 0 replies; 4+ messages in thread
From: Maxim Cournoyer @ 2023-12-30  4:16 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: Ludovic Courtès, 32075, Leo Famulari

Hi Oleg,

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-12-30  4:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 23:31 bug#32075: netcat with '-U' option for connection virt-manager to libvirt over SSH Oleg Pykhalov
2018-07-11 11:15 ` Ludovic Courtès
2018-07-11 16:10   ` Leo Famulari
2023-12-30  4:16 ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).