Package: pdnsd Version: 1.2.8-par-1 Severity: normal The init-script /etc/init.d/pdnsd is not LSB-compliant. According to http://refspecs.linux-foundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html:
The script should have exit status 3 for the command "/etc/init.d/pdnsd status" when pdnsd is not running. The script should have exit status 0 for the command "/etc/init.d/pdnsd start" when pdnsd is running. This makes the unaltered script unusable for pacemaker-based Linux-HA clusters as denoted in http://www.linux-ha.org/wiki/LSB_Resource_Agent Solution --------------------------------------------- in check_pid: check_pid() { if test -f "$PIDFILE"; then log_warning_msg "pid file exists in $PIDFILE, stop $pdnsd or restart $pdnsd" exit 0 fi } ------------------------- in pdnsd_status: pdnsd_status() { if status_of_proc $DAEMON $NAME; then /usr/sbin/pdnsd-ctl status else exit 3 fi } ------------------------------------------------ This also fixes some minor typos in the log_warning_msg line. Thank you for debian ! Martin -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

