Red Hat Bugzilla – Bug 570629
Remote driver client hangs when connecting to Debian/Ubuntu hosts
Last modified: 2012-04-18 15:46:39 EDT
Created attachment 397928 [details]
Patch to autodetect netcat parameters
Debian/Ubuntu hosts need to add "-q 0" to netcat to properly quit. A similar bug existed in virt-manager:
Attached is a patch for libvirt that uses the same technique as virt-manager now does to autodetect if the remote netcat tool needs the -q parameter.
Based on the following virt-manager commit:
I posted a similar patch upstream last month:
Danpb wasn't a fan of it (understandably) and suggested a long term approach of making a custom helper to drop in /usr/libexec so that we don't need to rely on 'nc'.
However, until that work is done, it would be nice if one of these patches could be applied.
Fixed in 0.9.7 with this commit:
Author: Guido Günther <firstname.lastname@example.org>
Date: Fri Jul 8 21:07:29 2011 +0200
Autodetect if the remote nc command supports the -q option
Based on a patch by Marc Deslauriers <email@example.com>