[Pkg-libvirt-maintainers] Bug#564034: Bug#564034: Bug#564034: Bug#564034: Re: Bug#564034: netcat doesn't exit and virt-manager hangs

Cole Robinson crobinso at redhat.com
Thu Feb 11 17:05:06 UTC 2010


On 02/11/2010 11:58 AM, fikin wrote:
>> There's been a suggestion just to kill the 'nc' process rather than try
>> and waitpid, which may get rid of the need to use the -q option on
> ...
>> I'll test it today.
> 
> i'd be ok to give a try too. just send me the patch.

I've pushed a patch upstream which seems to fix the 'virt-manager hangs'
error:

http://hg.fedorahosted.org/hg/virt-manager/rev/40fb60222e4e

However the behavior is still sub optimal when going fedora -> debian.
Even though we kill the nc process on our side, the opposite end will
hang since we didn't pass the -q option. All subsequent attempts to
connect to the console will not manage to VNC connect.

I've got something working at the moment which basically passes a shell
script as the 'ssh' command that tries to detect the nc -q option and
use it if necc. Working on cleaning it up a bit. I'll post back here
when the patch is in good shape, for further testing.





More information about the Pkg-libvirt-maintainers mailing list