Package: courier-authdaemon
Version: 0.62.2-1
Severity: normal
Tags: patch

/etc/init.d/reload restarts the daemon.  This is not correct.  When no reload 
is possible, the correct behavior for reload is to do nothing.  (see 
http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html)

diff -u courier-authlib-0.62.2/debian/courier-authdaemon.init 
courier-authlib-0.62.2/debian/courier-authdaemon.init
--- courier-authlib-0.62.2/debian/courier-authdaemon.init
+++ courier-authlib-0.62.2/debian/courier-authdaemon.init
@@ -40,10 +40,13 @@
        $daemonscript stop
        log_end_msg 0
     ;;
-restart|reload|force-reload)
+restart|force-reload)
        $0 stop
        $0 start
     ;;
+reload)
+       exit 3
+    ;;
 *)
        echo "Usage: $0 {start|stop|restart|reload|force-reload}" >&2
        exit 2



-- 
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