Package: dovecot-core
Version: 1:2.1.7-3
Severity: important
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package left unowned
directories on the system after purge, which is a violation of
policy 6.8:

http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

The maintainer scripts create (and later remove) a file in that
directory. Manual directory removal may be not appropriate as this
directory is shared between several packages.

If the package would ship this as an empty directory, dpkg would take
care of the creation and removal (if it's empty).

>From the attached log (scroll to the bottom...):

0m38.1s ERROR: FAIL: Package purging left files on system:
  /etc/dovecot/  owned by: dovecot-core
  /etc/dovecot/private/  not owned

Note that I added a custom script for this piuparts test that
deletes the dovecot certificates after the dovecot package is removed
(and before it's purged), that script is not yet in piuparts.git.

Shipping a 0700 directory works fine - see openssl which ships
/etc/ssl/private with these permissions.


cheers,

Andreas

Attachment: dovecot-core_1:2.1.7-3.log.gz
Description: GNU Zip compressed data

Reply via email to