[php-maint] Bug#852115: php: removing php applications leaves /var/lib/php/modules/7.0/ hierarchy

Andreas Beckmann anbe at debian.org
Sat Jan 21 18:59:43 UTC 2017


Package: php
Version: 1:7.0+49
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during several tests with piuparts I noticed some 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

I'm assigning this to php, since this is probably related to the php
packaging helpers and not to the application itself.

Filing this as important as having a piuparts clean archive is a release
goal since lenny.

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

3m1.9s ERROR: FAIL: Package purging left files on system:
  /var/lib/php/modules/7.0/cli/disabled_by_maint/	 not owned
  /var/lib/php/modules/7.0/cli/disabled_by_maint/gd	 not owned

3m1.9s INFO: Warning: Package purging left files on system:
  /var/lib/apache2/	 owned by: apache2, apache2-bin
  /var/lib/php/	 owned by: php-common
  /var/lib/php/modules/	 owned by: php-common
  /var/lib/php/modules/7.0/	 not owned
  /var/lib/php/modules/7.0/apache2/	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/calendar	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/ctype	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/exif	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/fileinfo	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/ftp	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/gd	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/gettext	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/iconv	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/json	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqli	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/mysqlnd	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/opcache	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/pdo	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/pdo_mysql	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/phar	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/posix	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/readline	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/shmop	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/sockets	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/sysvmsg	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/sysvsem	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/sysvshm	 not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/tokenizer	 not owned
  /var/lib/php/modules/7.0/cli/	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/calendar	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/ctype	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/exif	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/fileinfo	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/ftp	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/gettext	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/iconv	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/json	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/mysqli	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/mysqlnd	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/opcache	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/pdo	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/pdo_mysql	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/phar	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/posix	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/readline	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/shmop	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/sockets	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/sysvmsg	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/sysvsem	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/sysvshm	 not owned
  /var/lib/php/modules/7.0/cli/enabled_by_maint/tokenizer	 not owned
  /var/lib/php/modules/7.0/registry/	 not owned


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wordpress_4.7.1+dfsg-1.log.gz
Type: application/gzip
Size: 20021 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20170121/628ced7a/attachment-0001.bin>


More information about the pkg-php-maint mailing list