[Libvir] PATCH: Add dep on 'nc' RPM

Daniel P. Berrange berrange at redhat.com
Mon Dec 17 16:17:32 UTC 2007


The libvirt SSH tunnelling support requires 'nc' to operate. The libvirt
RPM does not, however, have any dependancy on 'nc'. So by default it is
pure luck whether you can use SSH tunnelling after installing the libvirt
package & starting the daemon. Even though we don't technically need it
on the client end, I figure nc is so small we may as well add a dep to
the main libvirt RPM. This ensures nc is present anywhere the daemon is.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 
-------------- next part --------------
Index: libvirt.spec.in
===================================================================
RCS file: /data/cvs/libvirt/libvirt.spec.in,v
retrieving revision 1.71
diff -u -p -r1.71 libvirt.spec.in
--- libvirt.spec.in	6 Dec 2007 16:07:18 -0000	1.71
+++ libvirt.spec.in	17 Dec 2007 16:15:16 -0000
@@ -24,6 +24,9 @@ Requires: ncurses
 Requires: dnsmasq
 Requires: bridge-utils
 Requires: iptables
+# So remote clients can access libvirt over SSH tunnel
+# (client invokes 'nc' against the UNIX socket on the server)
+Requires: nc
 Requires: cyrus-sasl
 # Not technically required, but makes 'out-of-box' config
 # work correctly & doesn't have onerous dependancies


More information about the libvir-list mailing list