diff -u bind9-9.5.0.dfsg/debian/bind9.init bind9-9.5.0.dfsg/debian/bind9.init --- bind9-9.5.0.dfsg/debian/bind9.init +++ bind9-9.5.0.dfsg/debian/bind9.init @@ -107,9 +107,13 @@ sleep 2 $0 start ;; + + status) + status_of_proc /usr/sbin/named bind9 && exit 0 || exit $? + ;; *) - log_action_msg "Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload}" + log_action_msg "Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}" exit 1 ;; esac diff -u bind9-9.5.0.dfsg/debian/changelog bind9-9.5.0.dfsg/debian/changelog --- bind9-9.5.0.dfsg/debian/changelog +++ bind9-9.5.0.dfsg/debian/changelog @@ -1,3 +1,12 @@ +bind9 (1:9.5.0.dfsg-5) intrepid; urgency=low + + * debian/control: Do NOT add dependency on lsb >= 3.2-12ubuntu2, which has the + status_of_proc() function, per LaMont, to keep from forking Debian's bind9 + package; users without status_of_proc() will get a 127 exit code. + * debian/bind9.init: Add the 'status' action (LP: #203169). + + -- Dustin Kirkland Tue, 08 Jul 2008 19:01:04 -0500 + bind9 (1:9.5.0.dfsg-4) unstable; urgency=low [LaMont Jones]