Hi,

On 09.06.2015 00:13, Andreas Beckmann wrote:
> Followup-For: Bug #656451
> 
> Looks like the unowned files have returned:
> 
> 0m47.7s ERROR: FAIL: Package purging left files on system:
>   /etc/apparmor.d/local/bin.ping       not owned
>   /etc/apparmor.d/local/sbin.klogd     not owned
>   /etc/apparmor.d/local/sbin.syslog-ng         not owned
>   [...]

debian/rules calls /usr/bin/dh_apparmor if it exists.
Since it doesn't build-depend on itself this is not the case in a minimal build 
environment.

It should be possible to call the dh_apparmor from the source tree by setting
DH_AUTOSCRIPTDIR to debian/debhelper/.


More generally is there a good reason why dh_apparmor creates the
/etc/apparmor.d/local/<profile> files in postinst instead of installing
them as regular conffiles?
That way we'd get the file removal handling for free.

Cheers,
Felix


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to