Hi Andreas,

Thanks for the bug report.

It is not clear to me what is causing the issue as there is no postrm
action/file in the caml-crush-server package that remove files or the
dedicated user/group.
Hence, I don't understand how piuparts can trigger this error.

When manually calling "dpkg -P caml-crush-server", the
/var/lib/pkcs11proxyd directory stays owned by the users created at
post-install on my machine.

Could it be an artifact or am I missing something from the log you sent?

Cheers,

Thomas

On Mon, Jan 11, 2016 at 11:49 AM, Andreas Beckmann <[email protected]> wrote:

> Package: caml-crush-server
> Version: 1.0.7-1
> Severity: important
> User: [email protected]
> 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:
>
>
> https://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...):
>
> 0m39.4s ERROR: FAIL: Package purging left files on system:
>   /var/lib/pkcs11proxyd/         not owned
>
>
> cheers,
>
> Andreas
>

Reply via email to