Hi.  Any hope of having a fix for this uploaded into unstable soon?
Please object if we should not NMU to fix it.

While reviewing this issue, I notice that the patch is incomplete.  To
recover systems affected by the incorrect runlevel info in the header,
code is needed in the postinst.  This patch should solve it.

diff -ur ../anon-proxy-00.05.38+20081230/debian/postinst 
../anon-proxy-00.05.38+20081230-pere/debian/postinst
--- ../anon-proxy-00.05.38+20081230/debian/postinst     2009-10-10 
23:20:44.000000000 +0200
+++ ../anon-proxy-00.05.38+20081230-pere/debian/postinst        2009-10-10 
23:24:35.000000000 +0200
@@ -96,6 +96,17 @@
     ;;
 esac

+# Those using dependency based boot sequencing and installing
+# anon-proxy before version 00.05.38+20081230-1 would miss
+# the runlevel 4 start symlink.  Recover from this.
+if [ "$1" = "configure" ] \
+   && dpkg --compare-versions "$2" le "00.05.38+20081230-1" \
+   && [ -f /etc/rc2.d/S[0-9][0-9]anon-proxy ] \
+   && [ -f /etc/rc3.d/S[0-9][0-9]anon-proxy ] \
+   && [ ! -f /etc/rc4.d/S[0-9][0-9]anon-proxy ]
+then
+   update-rc.d -f anon-proxy remove
+fi

 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.


Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to