since version 1.4.0, dnsdist seems not to write a pid file anymore. this results in a "crashed" service, yet the process is running fine. current behavior: ----------------- # /etc/init.d/dnsdist start * Checking configuration file (/etc/dnsdist/dnsdist.conf) ... [ ok ] * Starting dnsdist (default) ... [ ok ] # /etc/init.d/dnsdist status * status: crashed # cat /run/dnsdist/dnsdist.pid cat: /run/dnsdist/dnsdist.pid: No such file or directory # ps fu -C dnsdist USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND dnsdist 3378 4.4 5.5 1966516 219552 ? Ssl 23:05 0:04 /usr/bin/dnsdist --supervised -u dnsdist -g dnsdist -C /etc/dnsdist/dnsdist.conf expected behavior: ------------------ # /etc/init.d/dnsdist start * Checking configuration file (/etc/dnsdist/dnsdist.conf) ... [ ok ] * Starting dnsdist (default) ... [ ok ] # /etc/init.d/dnsdist status * status: started # cat /run/dnsdist/dnsdist.pid 7714 # ps fu -C dnsdist USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND dnsdist 7714 4.8 5.5 1966516 217460 ? Ssl 23:11 0:02 /usr/bin/dnsdist --supervised -u dnsdist -g dnsdist -C /etc/dnsdist/dnsdist.conf patch for /etc/init.d/dnsdist ----------------------------- # diff -Nur dnsdist-original dnsdist-new --- dnsdist-original 2020-03-03 22:43:20.051038677 +0100 +++ dnsdist-new 2020-03-03 23:12:59.399693407 +0100 @@ -31,7 +31,7 @@ ebegin "Starting dnsdist (${DNSDIST_INSTANCE})" start-stop-daemon --start --exec $DNSDIST --pidfile ${PIDFILE} \ - -b -- --supervised -u ${DNSDIST_USER} -g ${DNSDIST_GROUP} \ + -b -m -- --supervised -u ${DNSDIST_USER} -g ${DNSDIST_GROUP} \ -C $DNSDIST_CONFFILE ${DNSDIST_OPTIONS} eend $? }
This got fixed now. Thanks for reporting, sorry for the delay!