[Pkg-mlmmj-devel] Bug#668752: mlmmj: unowned directory after purge: /var/spool/mlmmj

Thomas Goirand thomas at goirand.fr
Sat Apr 14 08:46:40 UTC 2012


On 04/14/2012 04:37 PM, Andreas Beckmann wrote:
> Package: mlmmj
> Version: 1.2.17-5.1
> Severity: important
> User: debian-qa at 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.
> 
> If the package would ship this as an empty directory, dpkg would take
> care of the creation and removal.
> 
>>From the attached log (scroll to the bottom...):
> 
> 0m28.2s ERROR: FAIL: Package purging left files on system:
>   /var/spool/mlmmj	 not owned
> 
> 
> cheers,
> 
> Andreas

Hi Andreas,

If you didn't know, there's a debconf template for that. Let me cut/past it:

Template: mlmmj/remove-on-purge
Type: boolean
Default: false
_Description: Remove mlmmj lists on purge?
 Removing mlmmj on purge includes the removal of all subscriber lists,
 archives and configuration options for all lists currently stored.
 .
 Accepting here basically means that everything under /var/spool/mlmmj
 and /etc/mlmmj/lists will be removed when this package is purged. Also
 please note that any changes you might have made to /etc/aliases will not
 be unmade automatically when this package is removed. (A notice will be
 displayed however, to remind you to clean up your aliases.)

Do you still think this is a violation of the policy then?

Cheers,

Thomas






More information about the Pkg-mlmmj-devel mailing list