[DRE-maint] Bug#839929: gitlab: does not clean up after purge

Andreas Beckmann anbe at debian.org
Thu Oct 6 12:48:34 UTC 2016


Package: gitlab
Version: 8.12.3+dfsg1-1
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):

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.

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

32m20.8s ERROR: FAIL: Package purging left files on system:
  /etc/gitlab-shell/	 not owned
  /etc/gitlab-shell/config.yml	 not owned
  /etc/rc0.d/K01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc1.d/K01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc2.d/S01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc3.d/S01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc4.d/S01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc5.d/S01gitlab -> ../init.d/gitlab	 not owned
  /etc/rc6.d/K01gitlab -> ../init.d/gitlab	 not owned
  /etc/systemd/system/gitlab.service -> /dev/null	 not owned
  /etc/systemd/system/gitlab.target -> /dev/null	 not owned
  /etc/systemd/system/gitlab.target.wants/	 not owned
  /etc/systemd/system/gitlab.target.wants/gitlab.service -> /lib/systemd/system/gitlab.service	 not owned
  /etc/systemd/system/multi-user.target.wants/gitlab.target -> /lib/systemd/system/gitlab.target	 not owned
  /usr/share/gitlab-shell/.gitlab_shell_secret -> /var/lib/gitlab/.gitlab_shell_secret	 not owned
  /var/cache/gitlab/	 not owned
  /var/lib/gitlab/	 owned by: gitlab
  /var/lib/gitlab/.bundle/	 not owned
  /var/lib/gitlab/.bundle/config	 not owned
  /var/lib/gitlab/.gitconfig	 not owned
  /var/lib/gitlab/.gitlab_shell_secret	 not owned
  /var/lib/gitlab/.gitlab_workhorse_secret	 not owned
  /var/lib/gitlab/.ssh/	 not owned
  /var/lib/gitlab/.ssh/authorized_keys	 not owned
  /var/lib/gitlab/Gemfile.lock	 not owned
  /var/lib/gitlab/db/	 owned by: gitlab
  /var/lib/gitlab/db/schema.rb	 not owned
  /var/lib/gitlab/gitlab-debian.conf	 not owned
  /var/lib/gitlab/gitlab-shell-config.yml	 not owned
  /var/lib/gitlab/gitlab.yml	 not owned
  /var/lib/gitlab/nginx.conf	 not owned
  /var/lib/gitlab/public/	 owned by: gitlab
  /var/lib/gitlab/public/uploads/	 not owned
  /var/lib/gitlab/repositories/	 not owned
  /var/lib/gitlab/secrets.yml	 not owned
  /var/lib/systemd/deb-systemd-helper-enabled/gitlab.service.dsh-also	 not owned
  /var/lib/systemd/deb-systemd-helper-enabled/gitlab.target.dsh-also	 not owned
  /var/lib/systemd/deb-systemd-helper-enabled/gitlab.target.wants/	 not owned
  /var/lib/systemd/deb-systemd-helper-enabled/gitlab.target.wants/gitlab.service	 not owned
  /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/gitlab.target	 not owned
  /var/lib/systemd/deb-systemd-helper-masked/	 not owned
  /var/lib/systemd/deb-systemd-helper-masked/gitlab.service	 not owned
  /var/lib/systemd/deb-systemd-helper-masked/gitlab.target	 not owned
  /var/log/gitlab-shell/	 not owned
  /var/log/gitlab-shell/gitlab-shell.log	 not owned
  /var/log/gitlab/	 not owned
  /var/log/gitlab/application.log	 not owned
  /var/log/gitlab/builds/	 not owned
  /var/log/gitlab/production.log	 not owned


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gitlab_8.12.3+dfsg1-1.log.gz
Type: application/gzip
Size: 183747 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161006/713096d6/attachment-0001.bin>


More information about the Pkg-ruby-extras-maintainers mailing list