[Pkg-libvirt-maintainers] Bug#594652: libvirt0: libvirtd is incompatible with Fedora's libvirtd because of netcat patch
David Caldwell
david at porkrind.org
Sat Aug 28 04:36:49 UTC 2010
Package: libvirt0
Version: 0.8.3-1
Severity: important
The 0005-Terminate-nc-on-EOF.patch file patches libvertd to pass extra
debian specific args to netcat ("-q 0"). Since this option is Debian
specific, libvirt fails to connect to Fedora/RHEL/CentOS libvirtd servers.
I've rebuilt the package locally without this patch and now I can connect to
remote machines just fine.
I'm not sure what the solution is. Virt-manager handles either netcat flavor
by doing this in src/virtManager/consCole.py:
nc_cmd = [\
"nc -q 2>&1 | grep -q 'requires an argument';"
"if [ $? -eq 0 ] ; then"
" CMD='nc -q 0 %(nc_params)s';"
"else"
" CMD='nc %(nc_params)s';"
"fi;"
"$CMD;" % {'nc_params': nc_params}
]
Though it looks more pleasant to do that type of thing in python than in
C. :-)
Or perhaps the patch could be removed and the netcat-openbsd package be
required by libvirt since I don't believe it needs the "-q" argument to work
correctly.
-David
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvirt0 depends on:
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcap-ng0 0.6.4-1 An alternate posix capabilities li
ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime libr
ii libgnutls26 2.8.6-1 the GNU TLS library - runtime libr
ii libnl1 1.1-5 library for dealing with netlink s
ii libsasl2-2 2.1.23.dfsg1-5 Cyrus SASL - authentication abstra
ii libxenstore3.0 4.0.1~rc5-1 Xenstore communications library fo
ii libxml2 2.7.7.dfsg-4 GNOME XML library
Versions of packages libvirt0 recommends:
ii lvm2 2.02.66-3 The Linux Logical Volume Manager
libvirt0 suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list