Bug#758190: debian-edu-config: testsuite/network look for rpcinfo in the wrong directory
Package: debian-edu-config
Version: 1.718
Severity: normal
Tags: patch
The network test script now fail reporting that /usr/bin/rpcinfo is
missing. The binary have moved to /usr/sbin in rpcbind version 0.2.1-4
in testing. Our test script could be updated like this to cope with
the new location:
Index: network
===================================================================
--- network (revision 83364)
+++ network (working copy)
@@ -53,10 +53,10 @@
else
error "Unable to find /etc/hosts"
fi
-if [ -x /usr/bin/rpcinfo ] ; then
- /usr/bin/rpcinfo -p localhost 2>&1 | sed "s%^%info: $0: rpcinfo: %" || true
+if [ -x /usr/sbin/rpcinfo ] ; then
+ /usr/sbin/rpcinfo -p localhost 2>&1 | sed "s%^%info: $0: rpcinfo: %" || true
else
- error "Unable to find /usr/bin/rpcinfo"
+ error "Unable to find /usr/sbin/rpcinfo"
fi
######################################################################
--
Happy hacking
Petter Reinholdtsen
Reply to: