[php-maint] Bug#711055: Bug#711055: php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini

Ondřej Surý ondrej at debian.org
Wed Jun 5 08:57:28 UTC 2013


reassign 711055 ucf
affects 711055 src:php5 grub-pc
severity 709567 important
forcemerge 709567 711055
thank you

The error:
Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line 529,
<HASH> line 3.

comes from this call:

ucfq -w /etc/php5/mods-available/<module>.ini

which I use in the postinst script to determine if my package still owns
the configfile (this is unfortunatelly needed to have php5-mysql and
php5-mysqlnd ship the module with same name).

The call fails and returns nothing.

Compared to wheezy ucf:

# ucfq -w /etc/php5/mods-available/pdo.ini
/etc/php5/mods-available/pdo.ini:php5-common:Yes:No

The unowned files in the system are just a side-effect of this bug (and
applies to all php5-<module> packages since they share the same code).

I would even say that this is a grave bug, since ucfq is unusable (or
mostly so), but I leave that to maintainer discretion.

O.

On Tue, Jun 4, 2013 at 1:11 PM, Andreas Beckmann <anbe at debian.org> wrote:

> Package: php5-common
> Version: 5.5.0~rc2+dfsg-2
> 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...):
>
> 0m26.7s ERROR: FAIL: Package purging left files on system:
>   /etc/php5/mods-available/opcache.ini   not owned
>   /etc/php5/mods-available/pdo.ini       not owned
>
>
> cheers,
>
> Andreas
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>



-- 
Ondřej Surý <ondrej at sury.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130605/aa35abec/attachment.html>


More information about the pkg-php-maint mailing list