Package: radvd Version: 1:1.8.5-1 Severity: normal Tags: patch When installing radvd one is greeted with:
| ... | Setting up radvd (1:1.9.1-1.3) ... | dpkg-statoverride: warning: --update given but /var/run/radvd does not exist | ... Full log at: https://piuparts.debian.org/sid/pass/radvd_1:1.9.1-1.3.log This warning is emitted, because the radvd package no longer ships that directory to comply with Debian policy section 9.1.4. The directory is now created by the init script. Therefore the statoverride should also go away as it does not have any effect besides printing a warning. The statoverride also violates the spirit of policy 9.1.4. I am attaching a patch for your convenience. Helmut
diff -Nru radvd-1.9.1/debian/changelog radvd-1.9.1/debian/changelog --- radvd-1.9.1/debian/changelog 2014-08-05 17:47:20.000000000 +0200 +++ radvd-1.9.1/debian/changelog 2014-11-27 22:49:38.000000000 +0100 @@ -1,3 +1,10 @@ +radvd (1:1.9.1-1.4) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Remove dpkg-statoverride for non-existent /var/run/radvd. Closes: #-1 + + -- Helmut Grohne <[email protected]> Thu, 27 Nov 2014 22:43:25 +0100 + radvd (1:1.9.1-1.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru radvd-1.9.1/debian/radvd.postinst radvd-1.9.1/debian/radvd.postinst --- radvd-1.9.1/debian/radvd.postinst 2011-12-07 18:23:31.000000000 +0100 +++ radvd-1.9.1/debian/radvd.postinst 2014-11-27 22:42:30.000000000 +0100 @@ -7,8 +7,8 @@ adduser --quiet --system --no-create-home --home /var/run/radvd radvd fi for i in /var/run/radvd; do - if ! dpkg-statoverride --list $i >/dev/null; then - dpkg-statoverride --update --add radvd root 4755 $i + if dpkg-statoverride --list $i >/dev/null; then + dpkg-statoverride --remove $i fi done fi diff -Nru radvd-1.9.1/debian/radvd.postrm radvd-1.9.1/debian/radvd.postrm --- radvd-1.9.1/debian/radvd.postrm 2011-12-07 18:23:31.000000000 +0100 +++ radvd-1.9.1/debian/radvd.postrm 2014-11-27 22:41:29.000000000 +0100 @@ -5,5 +5,7 @@ #DEBHELPER# if [ "$1" = purge ]; then - dpkg-statoverride --remove /var/run/radvd + if dpkg-statoverride --list /var/run/radvd >/dev/null; then + dpkg-statoverride --remove /var/run/radvd + fi fi

