Heads up: nc replaced by nmap ncat

Daniel P. Berrange berrange at redhat.com
Thu Jul 19 10:50:53 UTC 2012


On Thu, Jul 19, 2012 at 12:12:16PM +0200, Petr Ĺ abata wrote:
> Dear list,
> 
> The old Fedora, heavily patched OpenBSD nc package was just
> obsoleted by the nmap ncat implementation, available as the
> nmap-ncat subpackage.  Those are mostly compatible and this
> change shouldn't cause much headache but please check your
> netcat dependant scripts or apps.

Arrrgggh no, please no, no, no :-(

The crux of the problem is the word 'mostly' here.  The NMap
'ncat' program doesn't support connecting to UNIX domain sockets.
This functionality is *critical* for libvirt to connect to remote
servers via our SSH tunnel facility. You've now broken the ability
to connect to rawhide virt hosts :-(


  $ virsh -c qemu+ssh://root@avocado.XXXXX.com/system
  error: End of file while reading data: 2012-07-19 10:49:00.415+0000: 10202: info : libvirt version: 0.9.13, package: 1.fc17 (Unknown, 2012-07-02-12:05:10, t500wlan.home.berrange.com)
  nc: invalid option -- 'U'
  Ncat: Try `--help' or man(1) ncat for more information, usage options and help. QUITTING.: Input/output error
  error: failed to connect to the hypervisor

Libvirt needs to be able to run the following command

  # nc -U /var/run/libvirt/libvirt-sock

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


More information about the devel mailing list