[Pkg-libvirt-maintainers] Bug#564053: libvirt0: remote connection sometimes leaves netcat process on server side

Vaclav Ovsik vaclav.ovsik at gmail.com
Thu Jan 7 11:30:39 UTC 2010


Package: libvirt0
Version: 0.7.5-2
Severity: minor

Hi,
this is a complement to bugreport #564034. Libvirt creates remote
connections using ssh & netcat (nc) and in some conditions
(interruption) netcat on server side remains forever.
I can reproduce this by bad URL a Ctrl-C after a while on virsh:

zito at bobek:~$ virsh -c qemu+ssh://root@aslan.i.cz/blablabla
^C
...several times...

aslan:~# pgrep -l -f 'nc -U'
27673 nc -U /var/run/libvirt/libvirt-sock
27813 nc -U /var/run/libvirt/libvirt-sock
27820 nc -U /var/run/libvirt/libvirt-sock
27829 nc -U /var/run/libvirt/libvirt-sock
27836 nc -U /var/run/libvirt/libvirt-sock

The code for execution netcat through ssh seems to be in
./src/remote/remote_driver.c.

Maybe the problem can be corrected on netcat on the other hand.

Thanks for time on maintaining the package!
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 libvirt0 depends on:
ii  libc6                     2.10.2-3       Embedded GNU C Library: Shared lib
ii  libcap-ng0                0.6.2-4        An alternate posix capabilities li
ii  libgcrypt11               1.4.5-1        LGPL Crypto library - runtime libr
ii  libgnutls26               2.8.5-2        the GNU TLS library - runtime libr
ii  libsasl2-2                2.1.23.dfsg1-5 Cyrus SASL - authentication abstra
ii  libxenstore3.0            3.4.2-2        Xenstore communications library fo
ii  libxml2                   2.7.6.dfsg-1   GNOME XML library

Versions of packages libvirt0 recommends:
ii  lvm2                          2.02.54-1  The Linux Logical Volume Manager

libvirt0 suggests no packages.

-- no debconf information





More information about the Pkg-libvirt-maintainers mailing list