Package: tcpdump
Version: 4.99.0-2
Severity: normal

Hi.

In some version, /etc/apparmor.d/usr.sbin.tcpdump was moved to
/etc/apparmor.d/usr.bin.tcpdump.

While this worked nicely for the file itself, any legacy instllations
now have:
ls -al /etc/apparmor.d/local/usr.*bin.tcpdump
-rw-r--r-- 1 root root   0 Jan  4 05:44 /etc/apparmor.d/local/usr.bin.tcpdump
-rw-r--r-- 1 root root 123 Jul  3  2017 /etc/apparmor.d/local/usr.sbin.tcpdump


As per policy (https://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3):
"Obsolete configuration files without local changes should be removed by the
package during upgrade."


but actually this seems to be tricky here, because the the 
/etc/apparmor.d/local/*
got automatically created by dh_apparmor.

So is it tcpdump's responsibility to clean this up (manually) or should 
debhelper
do it (somehow ^^) automatically, i.e. also migrate the existing file
automatically, because people might have had config in
/etc/apparmor.d/local/usr.sbin.tcpdump which should have gotten moved to
/etc/apparmor.d/local/usr.bin.tcpdump

So maybe this needs to be reassigned to dh-apparmor.


Cheers,
Chis.

Reply via email to