[Libvir] netcat "-U" option

Daniel Veillard veillard at redhat.com
Fri Nov 23 14:06:58 UTC 2007

On Fri, Nov 23, 2007 at 01:50:47PM +0000, Richard W.M. Jones wrote:
> Debian ship a completely different version of netcat from Fedora.  Not 
> just a different version, but it appears to be a different codebase.
> Debian's netcat doesn't support the (very useful) -U option, so this 
> code fails in src/remote_internal.c:
>         cmd_argv[j++] = strdup (command);
> //.....
>         cmd_argv[j++] = strdup (server);
>         cmd_argv[j++] = strdup (netcat ? netcat : "nc");
>         cmd_argv[j++] = strdup ("-U");
>         cmd_argv[j++] = strdup (sockname ? sockname : 
>         cmd_argv[j++] = 0;
> As a result of this remote-over-ssh fails on Debian.  I'm not completely 
> sure how to solve this at the moment.  If anyone has any ideas ...

  Hum even if we find a workaround it will require something like
a test in configure. Can we open a bugzilla about this, as I'm afraid
it may take a bit to resolve correctly,


Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

More information about the libvir-list mailing list