Package: unbound Version: 1.10.1-1~bpo10+1 Followup-For: Bug #947771 Dear Maintainer,
* What led up to the situation? As a policy, we still use sysvinit and remove systemd on our Debian systems. Then, upon installing unbound on Debian Buster, it is not capable of restarting properly. * What exactly did you do (or not do) that was effective (or ineffective)? Upon removing the PID file, restarting as follows works : # /etc/init.d/unbound restart Then, upon restarting one more time, the problem appears : # /etc/init.d/unbound restart * What was the outcome of this action? It first tries to stop the daemon, but the PID file has been truncated by the first run. Therefore the second restart commands : - first tries to stop a daemon based on no PID info, and does nothing - next tries to start the daemon again, but fails because ports are in use * What outcome did you expect instead? I expected restart to work and stop, then start the daemon, in a consistent way no matter how many times I run the command. I worked around this issue by adding --remove-pidfile to the "start-stop-daemon --stop" commands. When the PID file does not exist, the command works as intended. -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages unbound depends on: ii adduser 3.118 ii dns-root-data 2019031302 ii libc6 2.28-10 ii libevent-2.1-6 2.1.8-stable-4 ii libfstrm0 0.4.0-1 ii libprotobuf-c1 1.3.1-1+b1 ii libpython3.7 3.7.3-2+deb10u1 ii libssl1.1 1.1.1d-0+deb10u3 ii libsystemd0 241-7~deb10u4 ii lsb-base 10.2019051400 ii openssl 1.1.1d-0+deb10u3 ii unbound-anchor 1.10.1-1~bpo10+1 unbound recommends no packages. Versions of packages unbound suggests: ii apparmor 2.13.2-10 -- Configuration Files: /etc/init.d/unbound changed [not included] /etc/unbound/unbound.conf changed [not included] -- no debconf information