Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 283884

Summary: app-emulation/libvirt missing dependency on netcat that support -U option
Product: Gentoo Linux Reporter: Marcin Semeniuk <m.semeniuk>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marcin Semeniuk 2009-09-06 22:25:18 UTC
virsh, to connect to remote host, require netcat that supports -U option.
libvirt ebuild don't have such netcat in dependency, and even don't show  appropriate warning. 

Reproducible: Always

Steps to Reproduce:
1. emerge libvirt
2. /etc/init.d/libvirtd start
3. virsh -c qemu+ssh:///localhost//system

Actual Results:  
nc: invalid option -- 'U'
nc -h for help
error: server closed connection
error: failed to connect to the hypervisor


Expected Results:  
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

Check bug 237277, there is more info, and it's not about new package (as it may look like), but in making working virsh.
Comment 1 Patrick Lauer gentoo-dev 2009-09-08 21:24:15 UTC
+  08 Sep 2009; Patrick Lauer <patrick@gentoo.org> +libvirt-0.6.5-r1.ebuild:
+  Fixing netcat dep #280650 #237277 #283884