Package: dh-apparmor Version: 2.7.103-2 Severity: normal User: debian...@lists.debian.org Usertags: piuparts
Hi, dh_apparmor does not seem to generate proper cleanup code for /etc/apparmor.d/disable/ which results in piuparts failures. Looking at the sssd package, I see the following: * preinst creates the directory (if needed) in order to place a symlink there * postrm purge removes the link, but not the directory Furthermore I see that * postinst creates /etc/apparmor.d/local/ and places a config file there * postrm purge removes both config file and directory I see two possible solutions for disable/ * postrm purge tries to remove the directory, too, or * dh-apparmor ensures that the package ships the empty directory in its file list, handing the rmdir part off to dpkg. preinst would still need to mkdir becuase the package is not yet unpacked 1m3.3s ERROR: FAIL: Package purging left files on system: /etc/apparmor.d/ owned by: sssd /etc/apparmor.d/disable/ not owned Andreas
sssd_1.8.4-1.log.gz
Description: GNU Zip compressed data