Package: unbound Version: 1.4.22-3 Severity: minor Tags: patch Usertags: run-transition
Hi, Unbound's SysV initscript still uses '/var/run' directory to store its PID. This is depreciated for reasons that can be seen in [0]. Please apply the following patch. Cheers, Vincent [0] https://wiki.debian.org/ReleaseGoals/RunDirectory diff --git a/unbound/debian/rules b/unbound/debian/rules index a81a9e3..b5f75b0 100755 --- a/unbound/debian/rules +++ b/unbound/debian/rules @@ -32,7 +32,7 @@ binary-arch: build --prefix=/usr \ --sysconfdir=/etc \ --disable-rpath \ - --with-pidfile=/var/run/unbound.pid \ + --with-pidfile=/run/unbound.pid \ --with-libevent \ --with-pythonmodule \ --with-pyunbound \ diff --git a/unbound/debian/unbound.init b/unbound/debian/unbound.init index 78f9c2f..83c9970 100644 --- a/unbound/debian/unbound.init +++ b/unbound/debian/unbound.init @@ -11,7 +11,7 @@ NAME=unbound DESC="recursive DNS server" DAEMON=/usr/sbin/unbound -PIDFILE="/var/run/unbound.pid" +PIDFILE="/run/unbound.pid" test -x $DAEMON || exit 0 test -x ${DAEMON}-checkconf || exit 0 -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages unbound depends on: ii adduser 3.113+nmu3 ii libc6 2.19-13 ii libevent-2.0-5 2.0.21-stable-1.1 ii libpython2.7 2.7.8-11 ii libssl1.0.0 1.0.1j-1 ii openssl 1.0.1j-1 ii unbound-anchor 1.4.22-3 unbound recommends no packages. unbound suggests no packages. -- Configuration Files: /etc/init.d/unbound changed [not included] /etc/unbound/unbound.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org