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

Guido Günther agx at sigxcpu.org
Thu Feb 11 17:20:22 UTC 2010


On Thu, Feb 11, 2010 at 12:05:06PM -0500, Cole Robinson wrote:
> 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.
That sounds great! We have the same issue in libvirt though so in order
to make connecting work again we'll need something similar in libvirt.
It's slightly more trick since we share the  same with trans_ext.
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list