[Pkg-libvirt-maintainers] Bug#564034: netcat doesn't exit and virt-manager hangs
Vaclav Ovsik
vaclav.ovsik at gmail.com
Thu Jan 7 09:08:24 UTC 2010
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)
But when I do a connection & then virt-manager Quit, on server side
grows number of netcats for VM system:
23003 ? Ss 0:00 nc -U /var/run/libvirt/libvirt-sock
On local (client) side grows number of ssh connections with nc. These are not
killed by virt-manager. In the case of kill a local ssh process, nc on the
server side remains nevertheless.
Thanks for your time
Regards
--
Zito
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages virt-manager depends on:
ii librsvg2-common 2.26.0-1 SAX-based renderer library for SVG
ii python 2.5.4-5 An interactive high-level object-o
ii python-dbus 0.83.0-1 simple interprocess messaging syst
ii python-glade2 2.16.0-1 GTK+ bindings: Glade support
ii python-gnome2 2.28.0-1 Python bindings for the GNOME desk
ii python-gtk-vnc 0.3.10-2 A VNC viewer widget for GTK+ (Pyth
ii python-gtk2 2.16.0-1 Python bindings for the GTK+ widge
ii python-libvirt 0.7.5-2 libvirt Python bindings
ii python-support 1.0.6 automated rebuilding support for P
ii python-urlgrabber 3.1.0-5 A high-level cross-protocol url-gr
ii python-vte 1:0.22.5-1 Python bindings for the VTE widget
ii virtinst 0.500.1-2 Programs to create and clone virtu
Versions of packages virt-manager recommends:
ii hal 0.5.14-1 Hardware Abstraction Layer
ii libvirt-bin 0.7.5-2 the programs for the libvirt libra
Versions of packages virt-manager suggests:
ii virt-viewer 0.0.3-2 Displaying the graphical console o
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list