[libvirt] [PATCH 4/4] remote: Detect 'nc' version incompatibilities
Jim Fehlig
jfehlig at novell.com
Tue Feb 16 00:40:34 UTC 2010
Cole Robinson wrote:
> This ugly thing is a shell script to detect availability of
> the -q option for 'nc': debian and suse based distros need this
> flag to ensure the remote nc will exit on EOF, so it will go away
> when we close the tunnel. If it doesn't go away, a useless 'nc'
> process is left sitting on the remote host.
>
I've spent time trying to make this code more flexible with other types
of relays, e.g. socat which can be invoked with
socat - GOPEN:sockname LIBVIRTD_PRIV_UNIX_SOCKET
but haven't come up with anything I would consider upstreamable. Jonas
Eriksson also made a brave attempt [1] :-). Any suggestions for
improving this code to handle other relays at runtime?
Regards,
Jim
[1] http://www.redhat.com/archives/libvir-list/2009-August/msg00068.html
More information about the libvir-list
mailing list