Package: maradns Version: 1.4.12-5 Severity: normal Tags: patch Hello,
MaraDNS does not start anymore. # invoke-rc.d maradns start /etc/init.d/maradns: invalid arguments invoke-rc.d: initscript maradns, action "start" failed. The init script uses pidofproc() LSB function inconsistently. An argument is needed. # diff -U0 /etc/init.d/maradns.orig /etc/init.d/maradns --- /etc/init.d/maradns.orig 2013-05-25 22:07:35.000000000 +0200 +++ /etc/init.d/maradns 2013-05-25 22:08:04.000000000 +0200 @@ -64 +64 @@ - if ! pidofproc -p $PIDFILE > /dev/null + if ! pidofproc -p $PIDFILE /usr/sbin/maradns > /dev/null One can read the lsb-base package bug #693688 report (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693688) to get more on this. tart anymore. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.38-2-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages maradns depends on: ii adduser 3.113+nmu3 ii duende 1.4.12-5 ii libc6 2.17-3 ii lsb-base 4.1+Debian9 ii ucf 3.0025+nmu3 Versions of packages maradns recommends: pn maradns-zoneserver <none> ii python 2.7.3~rc2-1 maradns suggests no packages. -- Configuration Files: /etc/default/maradns changed [not included] /etc/init.d/maradns changed [not included] /etc/maradns/mararc changed [not included] -- no debconf information
--- maradns.init 2012-06-08 18:06:31.000000000 +0200 +++ maradns 2013-05-25 20:30:37.000000000 +0200 @@ -61,7 +61,7 @@ start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null || return 1 start-stop-daemon --start --quiet --background --pidfile $PIDFILE --startas $DUENDE -- --pid $PIDFILE --uid $OUR_UID --gid $OUR_GID --ident $SERVERNAME -- $DAEMON -f $rcfile sleep 3 - if ! pidofproc -p $PIDFILE > /dev/null + if ! pidofproc -p $PIDFILE /usr/sbin/maradns > /dev/null then rm -rf $PIDFILE return 2