Package: yrmcds
Version: 1.0.3-3
Severity: important
User: debian...@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...):

0m29.6s ERROR: FAIL: Package purging left files on system:
  /etc/rc0.d/K01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc1.d/K01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc2.d/S01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc3.d/S01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc4.d/S01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc5.d/S01yrmcds -> ../init.d/yrmcds       not owned
  /etc/rc6.d/K01yrmcds -> ../init.d/yrmcds       not owned
  /etc/systemd/system/multi-user.target.wants/   not owned
  /etc/systemd/system/multi-user.target.wants/yrmcds.service -> 
/lib/systemd/system/yrmcds.service       not owned
  /var/lib/systemd/deb-systemd-helper-enabled/   not owned
  /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/   not 
owned
  
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/yrmcds.service
     not owned
  /var/lib/systemd/deb-systemd-helper-enabled/yrmcds.service.dsh-also    not 
owned
  /var/log/yrmcds.log    not owned

This looks like two independent errors:

* improper usage of the debhelper commands to set up the initscript etc.,
  otherwise the rcX.d and systemd symlinks would have been cleaned up on removal

* not cleaning up the logfile on purge, that must be done in maintainer scripts


cheers,

Andreas

Attachment: yrmcds_1.0.3-3.log.gz
Description: GNU Zip compressed data

Reply via email to