[Pkg-libvirt-maintainers] Bug#516482: nc -U / netcat-openbsd

Jan Rasche xcomm at linux-hacks.com
Wed May 6 13:53:26 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi virt-manager Developers,

Just spend some hours with virt-manager from my Debian GNU/Notebook not
being able to connect to two OpenSuSE 11.1 Xen hosts.

###GUI###
virt-manager from GUI tells nothing about the real reason:

Unable to open a connection to the libvirt management daemon.

Libvirt URI is: xen+ssh://root@foobar/

Verify that:
 - The 'libvirtd' daemon has been started

Unable to open connection to hypervisor URI 'xen+ssh://root@foobar/':
<class 'libvirt.libvirtError'> server closed connection
None

Maybe you need to install ssh-askpass in order to authenticate.



###Shell###
virsh # connect xen+ssh://root@foobar/
bash: nc: command not found
error: Failed to connect to the hypervisor
error: server closed connection


foobar# ln -s /usr/bin/netcat /usr/bin/nc


virsh # connect xen+ssh://root@foobar/
nc: invalid option -- 'U'
nc -h for help
error: Failed to connect to the hypervisor
error: server closed connection


Finding http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516482 through
friend Google.


foobar# zypper install netcat-openbsd


virsh # connect xen+ssh://root@foobar/

virsh # list --all
...



After all this was coming down to netcat-openbsd needed on the remote
machines. I don't think relying on such a dependency is good practice
beneath no specific error at all given when in GUI.


 For my part I would raise the severity of this bug here.

Best regards, Jan


- --
- --

"Eigentlich bin ich ganz anders...
...nur komme ich so selten dazu."

* [http://en.wikipedia.org/wiki/Ödön_von_Horváth Ödön von Horváth]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoBllYACgkQZ4Vo3ep5lKTiYgCffoeu2sSgf8s1X3RISNow5XBj
I8EAoJwm9AwLJRDhe8N/oBRvQt0vflRB
=eNco
-----END PGP SIGNATURE-----





More information about the Pkg-libvirt-maintainers mailing list