This is the patch I used in the NMU I just uploaded.

diff -ur procps-3.2.8/debian/changelog procps-3.2.8-pere/debian/changelog
--- procps-3.2.8/debian/changelog       2009-09-30 22:41:18.000000000 +0200
+++ procps-3.2.8-pere/debian/changelog  2009-10-01 11:33:10.000000000 +0200
@@ -1,3 +1,11 @@
+procps (1:3.2.8-1.2) unstable; urgency=low
+
+  * Non-maintainer upload to fix release goal.
+  * Avoid using /usr/bin/which in init.d script, to make sure it work
+    before /usr/ is mounted (Closes: #548802).
+
+ -- Petter Reinholdtsen <p...@debian.org>  Thu, 01 Oct 2009 11:30:03 +0200
+
 procps (1:3.2.8-1.1) unstable; urgency=low

   * Non-maintainer upload to fix release goal.
diff -ur procps-3.2.8/debian/init procps-3.2.8-pere/debian/init
--- procps-3.2.8/debian/init    2009-09-30 22:41:18.000000000 +0200
+++ procps-3.2.8-pere/debian/init       2009-10-01 11:18:18.000000000 +0200
@@ -22,7 +22,7 @@
 . /lib/lsb/init-functions

 PATH=/sbin:$PATH
-which sysctl > /dev/null || exit 0
+if [ ! -x /sbin/sysctl ]; then exit 0; fi


 case "$1" in

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to