Bug#656464: boinc-client: unowned files after purge (policy 6.8, 10.8)

Steffen Möller steffen_moeller at gmx.de
Thu Jan 19 23:51:11 UTC 2012


On 01/19/2012 03:38 PM, Andreas Beckmann wrote:

> Severity: important
> User: debian-qa at lists.debian.org
> Usertags: piuparts
> Hi,
> during a test with piuparts I noticed your package left unowned files on
> the system after purge, which is a violation of policy 6.8 (or 10.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.
>>From the attached log (scroll to the bottom...):
> 0m27.7s ERROR: WARN: Broken symlinks:
>   /var/lib/boinc-client/ca-bundle.crt -> /etc/ssl/certs/ca-certificates.crt
>   /var/lib/boinc-client/gui_rpc_auth.cfg -> /etc/boinc-client/gui_rpc_auth.cfg
>   /var/lib/boinc-client/remote_hosts.cfg -> /etc/boinc-client/remote_hosts.cfg
>   /var/lib/boinc-client/cc_config.xml -> /etc/boinc-client/cc_config.xml
>   /var/lib/boinc-client/global_prefs_override.xml -> /etc/boinc-client/global_prefs_override.xml
> 0m29.1s ERROR: FAIL: Package purging left files on system:

> If the directory and links were shipped in the package, dpkg would clean them up ...

It seems like they are created in boinc-client.postinst. Hm. The location of those
links depends on some configuration parameter. It is not as easy as to create
a boinc-client.links file, I presume. Prior to the removal of the package one
would need to investigate how the package is configured and then act based on that
information - and the original files may still have been left. But it would
render piuparts happy.

The RFH is out. Help is welcome. And needed. Could you possibly help with a fix
yourself, Andreas?

Many thanks and regards,


More information about the pkg-boinc-devel mailing list