[Pkg-libvirt-maintainers] Bug#614291: Bug#614291: Bug#614291: Unable to establish qemu+ssh connection

Luca Capello luca at pca.it
Mon Mar 7 12:17:16 UTC 2011


Hi there!

On Sun, 06 Mar 2011 17:37:47 +0100, Guido Günther wrote:
> Hi,
> On Sat, Mar 05, 2011 at 03:54:02PM +0100, Luca Capello wrote:
> [..snip..] 
>> So, I see two solutions, beside the fact that libvirt-bin should depend
>> on netcat-openbsd:
>
> virt-manager invokes netcat on the remote side for console access.

Mmm, while I see your point, the only way to assure netcat-openbsd is
installed on the remote side is a dependency in libvirt-bin, given that
virt-manager is not required on the remote side.

>> 1) libvirt-bin calls /bin/nc.openbsd, not elegant, but it avoids any
>>    problem in an automatic way
>
> This would break non Debian systems. We could check for nc.openbsd first
> and then fall back to nc though (which would mean fixing up
> Autodetect-if-the-remote-nc-command-supports-the-q-o.patch) but in that
> case it's probably easier to drop the dependency altogether (which is
> what upstream plans to do).

I am not sure I have completely understood what you wrote:

1) Autodetect-if-the-remote-nc-command-supports-the-q-o.patch was
   introduced because of #573172.  In Debian Both netcat-traditional and
   netcat-openbsd have the -q option, but none of the upstream netcat
   has it [1][2].

2) modifying the patch above is IMHO not a good thing, given that these
   two issues (-q and -U) are completely different, with the latter (-U)
   being common to all versions other than the OpenBSD netcat (#348564).

3) what does "but in that case it's probably easier to drop the
   dependency altogether (which is what upstream plans to do)" mean?
   That -U will not be needed anymore?  In this case, I think that,
   beside fixing the dependencies and documenting this bug, nothing more
   should be done.

[1] the original Hobbit's netcat <http://nc110.sourceforge.net/>
    OpenBSD netcat <http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/>
    GNU netcat <http://netcat.sourceforge.net/>
    Nmap ncat <http://nmap.org/ncat/>
[2] netcat-traditional got it in 1999 (1.10-12, #45675) and
    netcat-openbsd with its first upload in 2008 (1.89-1, #461317)

>> 2) libvirt-bin still calls /bin/nc, but the need for netcat-openbsd
>>    should be documented at least in the README.Debian, something like
>
> Applied, thanks. I'll leave the bug open though since improving the
> error message is still a good idea.

Thank you.

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20110307/f865698d/attachment.pgp>


More information about the Pkg-libvirt-maintainers mailing list