Heads up: nc replaced by nmap ncat

Christophe Fergeau cfergeau at redhat.com
Mon Jul 23 16:00:46 UTC 2012


Hey,

On Mon, Jul 23, 2012 at 04:03:00PM +0200, Petr Ĺ abata wrote:
> On Fri, Jul 20, 2012 at 11:07:30AM -0400, Przemek Klosowski wrote:
> > On 07/19/2012 05:46 PM, Richard W.M. Jones wrote:
> > 
> > >When a libvirt client connects to a remote machine, the libvirt client
> > >sends the "nc -U ..." command over ssh.  So every libvirt on any
> > >distro that might connect to a Rawhide libvirtd must be changed to
> > >send a "socat ..." command instead.
> > 
> > Alternatively, perhaps a compatibility script called 'nc' could
> > execute the appropriate socat command?
> 
> That sounds like an acceptable temporary solution until ncat
> supports UNIX sockets too.

For what it's worth, I think this change broke GNOME Boxes build:
http://kojipkgs.fedoraproject.org//work/tasks/36/4270036/root.log

DEBUG util.py:257:  Error: Package: libvirt-client-0.9.13-1.fc18.i686 (build)
DEBUG util.py:257:             Requires: nc

and I indeed get:
$ repoquery --releasever=rawhide --whatprovides nc
No package provides nc

libvirt.spec has:

%package client
# So remote clients can access libvirt over SSH tunnel
# (client invokes 'nc' against the UNIX socket on the server)
Requires: nc


Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20120723/f059a5c3/attachment.sig>


More information about the devel mailing list