[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#187250: init.d/bind example restart rules is broken

Package: debian-policy
Severity: normal

The init.d/bind example has a bug...

            echo -n "Restarting domain name service: named"
            start-stop-daemon --stop --quiet  \
              --pidfile /var/run/named.pid --exec /usr/sbin/named
            start-stop-daemon --start --verbose --exec /usr/sbin/named \
                              -- $PARAMS
            echo "."

This is wrong, since if the service is not running,
start-stop-daemon --stop will fail and so service
will not be restarted. It should use --oknodo.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux seventeen 2.4.20 #1 Wed Mar 5 16:16:52 CET 2003 i686
Locale: LANG=french, LC_CTYPE=french

-- no debconf information

Bill. <ballombe@debian.org>

Reply to: