[Bug 517478] Re: remotely executed netcat (nc) uses -q option which is not universally supported

Raghav raghavendrac at huawei.com
Mon Apr 26 04:08:18 BST 2010


@Zigi
MAny thanks for the support
it resolved the issue
Raghav


******************************************************************************************
 This email and its attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained here in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient(s) is prohibited. If you receive this email in error, please notify the sender by phone or email immediately and delete it!
 *****************************************************************************************

----- Original Message -----
From: zigi <ziegleka at gmail.com>
Date: Sunday, April 25, 2010 12:46 pm
Subject: [Bug 517478] Re: remotely executed netcat (nc) uses -q option which	is not universally supported
To: raghavendrac at huawei.com

> @Raghav
> 
> After virt-manager (0.8.2-2ubuntu4) and libvirt (0.7.5-5ubuntu10) were
> released you don't have to patch virt-manager.
> 
> Actually I don't use ssh keys with password for virt-manager (no X 
> ssh-
> askpass installed) and I have installed these packages:
> 
> libvirt-bin          0.7.5-5ubuntu27 
> libvirt0              0.7.5-5ubuntu27
> libvirt0-dbg       0.7.5-5ubuntu27
> python-libvirt    0.7.5-5ubuntu27
> virt-manager    0.8.2-2ubuntu8
> 
> I can normaly manage remote systems via virt-manager and virsh.
> 
> -- 
> remotely executed netcat (nc) uses -q option which is not 
> universally supported
> https://bugs.launchpad.net/bugs/517478
> You received this bug notification because you are a direct subscriber
> of the bug.
> 
> Status in libvirt virtualization API: Unknown
> Status in “libvirt” package in Ubuntu: Fix Released
> Status in “libvirt” package in CentOS: Unknown
> Status in “libvirt” package in Fedora: Unknown
> Status in “virt-manager” package in Fedora: Unknown
> 
> Bug description:
> I Can't connect to none-debian based distros with remote tunel 
> over SSH (qemu+ssh)  - virsh / virt-manager.
> 
> LIBVIRT_DEBUG=1 virsh -c qemu+ssh://root@xxx.xxx.xxx.xxx/system:
> ...
> debug : virExecWithHook:620 : ssh -l root xxx.xxx.xxx.xxx nc -q 0 -
> U /var/run/libvirt/libvirt-sock
> ...
> 
> As you can see nc is executed with -q option. This option isn't 
> universally supported (at least in CentOS, Fedora, RedHat, 
> OpenSuse), it's debian patch.
> 
> My system is (K)Ubuntu 10.04 Lucid:
> libvirt - 0.7.5-5ubuntu5
> netcat-openbsd - 1.89-3ubuntu1
> virt-manager - 0.8.2-2ubuntu1
> 
> Patches which cause this problem:
> libvirt : 0006-Terminate-nc-on-EOF.patch
> virt-manager : 0003-Make-sure-we-quit-afer-EOF-on-stdin.patch
> 
> Solutions:
> Disable these patches until the nc patch "quit-timer.patch" will 
> be accepted by upstream or distributed into other main distributions.
> 
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/libvirt/+bug/517478/+subscribe
>

-- 
remotely executed netcat (nc) uses -q option which is not universally supported
https://bugs.launchpad.net/bugs/517478
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list