[Pkg-libvirt-maintainers] Bug#564034: Bug#564034: netcat doesn't exit and virt-manager hangs

Guido Günther agx at sigxcpu.org
Thu Jan 7 09:31:22 UTC 2010


Hii Vaclav,
On Thu, Jan 07, 2010 at 10:08:24AM +0100, Vaclav Ovsik wrote:
> Package: virt-manager
> Version: 0.8.2-1
> Severity: normal
> 
> Hi,
> I have problems on connection to remote machine using qemu+ssh://...
> Connecting to remote machine (Debian Lenny) -> open some virtual console
> -> close virtual; and virt-manager freezes. When I kill netcat for VNC on
> server side virt-manager revive. I have installed netcat-openbsd on
> server side as libvirt-bin recommends.
> 
> This is known problem. I'm not certain if this is virt-manager problem
> or netcat problem.
> 
> Please see:
> https://bugzilla.redhat.com/show_bug.cgi?id=517778
> http://www.mail-archive.com/et-mgmt-tools@redhat.com/msg02589.html
> http://www.mail-archive.com/et-mgmt-tools@redhat.com/msg02593.html
> 
> The following change solves me the problem with VNC connection:
> 
> --- /usr/share/virt-manager/virtManager/console.py.orig	2009-12-19 20:00:24.000000000 +0100
> +++ /usr/share/virt-manager/virtManager/console.py	2010-01-07 09:37:56.000000000 +0100
> @@ -506,7 +506,7 @@
>          if username:
>              argv += ['-l', username]
>  
> -        argv += [ server, "nc", vncaddr, str(vncport) ]
> +        argv += [ server, "nc", "-q", "0", vncaddr, str(vncport) ]
>  
>          logging.debug("Creating SSH tunnel: %s" % argv)
We had that patch until 0.8.1 and dropped it - seems we need to add this
back in. Thanks.
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20100107/e22df55b/attachment.pgp>


More information about the Pkg-libvirt-maintainers mailing list