Package: puppetserver
Version: 8.7.0-7
Severity: normal

Dear Maintainer,

I noticed while browsing Debian Code Search that
this package creates /var/log/puppetserver" with debian/puppetserver.dirs.

This makes it piuparts compliant;
because piuparts does not actualy run the packages;
but I guess that after some real world usage of
this package there would be some files in this directory.

Please ensure that this directory is cleansed on purge.

This can be handled by a full blow  .postrm script
or with a short debian/puppetserver.purge file
& a new dependecy on dh-sequence-cruft.


But.. there's more: a typical .postrm
would need to clear the 3 existing dpkg-statoverride's.

For this reason I would suggest to instead:
 * instea _remove_ the dpkg-statoverride in postinst
 * create those with a 3 line debian/puppetserver.tmpfiles snippet

I can provide a Merge Request if needed

Greetings

Alexandre

Reply via email to