Debian Bug report logs - #711055
php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini

version graph

Package: ucf; Maintainer for ucf is Manoj Srivastava <srivasta@debian.org>; Source for ucf is src:ucf (PTS, buildd, popcon).

Affects: src:aide, php5-common

Reported by: Andreas Beckmann <anbe@debian.org>

Date: Tue, 4 Jun 2013 11:15:02 UTC

Severity: grave

Tags: jessie, patch, sid

Merged with 709567, 711290

Found in versions ucf/3.0027, php5-common/5.5.0~rc2+dfsg-2, ucf/3.0026

Fixed in version ucf/3.0027+nmu1

Done: Andreas Beckmann <anbe@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#711055; Package php5-common. (Tue, 04 Jun 2013 11:15:07 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Tue, 04 Jun 2013 11:15:07 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini
Date: Tue, 04 Jun 2013 13:11:38 +0200
[Message part 1 (text/plain, inline)]
Package: php5-common
Version: 5.5.0~rc2+dfsg-2
Severity: important
User: debian-qa@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
[php5-common_5.5.0~rc2+dfsg-2.log.gz (application/x-gzip, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#711055; Package php5-common. (Wed, 05 Jun 2013 09:00:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Wed, 05 Jun 2013 09:00:05 GMT) (full text, mbox, link).


Message #10 received at 711055@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: Andreas Beckmann <anbe@debian.org>, 711055@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: [php-maint] Bug#711055: php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini
Date: Wed, 5 Jun 2013 10:57:28 +0200
[Message part 1 (text/plain, inline)]
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@debian.org> wrote:

> Package: php5-common
> Version: 5.5.0~rc2+dfsg-2
> Severity: important
> User: debian-qa@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@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
>



-- 
Ondřej Surý <ondrej@sury.org>
[Message part 2 (text/html, inline)]

Bug reassigned from package 'php5-common' to 'ucf'. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 05 Jun 2013 09:00:08 GMT) (full text, mbox, link).


No longer marked as found in versions php5/5.5.0~rc2+dfsg-2. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 05 Jun 2013 09:00:09 GMT) (full text, mbox, link).


Added indication that 711055 affects src:php5 and grub-pc Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 05 Jun 2013 09:00:09 GMT) (full text, mbox, link).


Removed indication that 711055 affects src:php5 and grub-pc Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 05 Jun 2013 09:00:11 GMT) (full text, mbox, link).


Merged 709567 711055 Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 05 Jun 2013 09:00:13 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#711055; Package ucf. (Wed, 05 Jun 2013 12:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. (Wed, 05 Jun 2013 12:45:04 GMT) (full text, mbox, link).


Message #25 received at 711055@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: Ondřej Surý <ondrej@debian.org>
Cc: 711055@bugs.debian.org
Subject: Re: [php-maint] Bug#711055: php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini
Date: Wed, 05 Jun 2013 14:42:57 +0200
Control: affects -1 + php5-common
Control: found -1 php5-common/5.5.0~rc2+dfsg-2
Control: severity -1 grave
# affects+found for letting piuparts-analyze find this bug report

On 2013-06-05 10:57, Ondřej Surý wrote:
> The error:
> Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line 529,
> <HASH> line 3.

I had seen the corresponding bug report, but assumed it's merely a nasty
diagnostic due to its low severity.

> 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).

(which are currently blocked from piuparts testing due to their
dependency on php5-common)

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

Raising the severity accordingly, this is a regression making ucf
unusable, at least for some important tasks. (That important task means
"managing configuration files", not "cleaning up on purge".)
I don't even want to analyze if upgrades are still working *properly* ...


Andreas



Added indication that 711055 affects php5-common Request was from Andreas Beckmann <anbe@debian.org> to 711055-submit@bugs.debian.org. (Wed, 05 Jun 2013 12:45:04 GMT) (full text, mbox, link).


Marked as found in versions php5-common/5.5.0~rc2+dfsg-2. Request was from Andreas Beckmann <anbe@debian.org> to 711055-submit@bugs.debian.org. (Wed, 05 Jun 2013 12:45:06 GMT) (full text, mbox, link).


Severity set to 'grave' from 'important' Request was from Andreas Beckmann <anbe@debian.org> to 711055-submit@bugs.debian.org. (Wed, 05 Jun 2013 12:45:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#711055; Package ucf. (Wed, 05 Jun 2013 13:21:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. (Wed, 05 Jun 2013 13:21:07 GMT) (full text, mbox, link).


Message #36 received at 711055@bugs.debian.org (full text, mbox, reply):

From: Ondřej Surý <ondrej@debian.org>
To: Andreas Beckmann <anbe@debian.org>
Cc: 711055@bugs.debian.org
Subject: Re: [php-maint] Bug#711055: php5-common: unowned files after purge (policy 6.8, 10.8): /etc/php5/mods-available/{opcache, pdo}.ini
Date: Wed, 5 Jun 2013 15:18:39 +0200
[Message part 1 (text/plain, inline)]
On Wed, Jun 5, 2013 at 2:42 PM, Andreas Beckmann <anbe@debian.org> wrote:

>  On 2013-06-05 10:57, Ondřej Surý wrote:
> > The error:
> > Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line
> 529,
> > <HASH> line 3.
>
> I had seen the corresponding bug report, but assumed it's merely a nasty
> diagnostic due to its low severity.


Same here, that's the fallout from
"cut&paste-the-terminal-without-any-comment-bugs-by-jidanni(tm)".

O.
-- 
Ondřej Surý <ondrej@sury.org>
[Message part 2 (text/html, inline)]

Merged 709567 711055 711290 Request was from Colin Watson <cjwatson@debian.org> to 711290-submit@bugs.debian.org. (Thu, 06 Jun 2013 08:03:19 GMT) (full text, mbox, link).


Added tag(s) sid and jessie. Request was from Holger Levsen <holger@layer-acht.org> to control@bugs.debian.org. (Thu, 06 Jun 2013 09:21:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#711055; Package ucf. (Tue, 18 Jun 2013 11:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Mathieu Parent <math.parent@gmail.com>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. (Tue, 18 Jun 2013 11:45:04 GMT) (full text, mbox, link).


Message #45 received at 711055@bugs.debian.org (full text, mbox, reply):

From: Mathieu Parent <math.parent@gmail.com>
To: 711055@bugs.debian.org
Cc: Andreas Beckmann <anbe@debian.org>, Ondřej Surý <ondrej@debian.org>, Manoj Srivastava <srivasta@debian.org>
Subject: bisection
Date: Tue, 18 Jun 2013 13:43:19 +0200
[Message part 1 (text/plain, inline)]
Hi,

Faulty commit is: 1a0bc0cf [1].

Patch is attached.

[1]: http://anonscm.debian.org/gitweb/?p=users/srivasta/debian/ucf.git;a=commitdiff;h=1a0bc0cf1990f7eec6c31fc3ffc3ebe9880a5367

Regards
--
Mathieu
[0001-Put-the-Cwd-at-the-right-place.patch (application/octet-stream, attachment)]

Marked as found in versions ucf/3.0026. Request was from Mathieu Parent <math.parent@gmail.com> to control@bugs.debian.org. (Mon, 24 Jun 2013 14:06:07 GMT) (full text, mbox, link).


Marked as found in versions ucf/3.0027. Request was from Mathieu Parent <math.parent@gmail.com> to control@bugs.debian.org. (Mon, 24 Jun 2013 14:06:10 GMT) (full text, mbox, link).


Added tag(s) patch. Request was from Mathieu Parent <math.parent@gmail.com> to control@bugs.debian.org. (Mon, 24 Jun 2013 14:06:12 GMT) (full text, mbox, link).


Added indication that 711055 affects aide Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Sun, 30 Jun 2013 17:39:05 GMT) (full text, mbox, link).


Removed indication that 711055 affects php5-common and aide Added indication that 711055 affects src:aide Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Sun, 30 Jun 2013 17:57:08 GMT) (full text, mbox, link).


Added indication that 711055 affects php5-common Request was from Hannes von Haugwitz <hannes@vonhaugwitz.com> to control@bugs.debian.org. (Sun, 30 Jun 2013 18:09:12 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#711055; Package ucf. (Mon, 01 Jul 2013 01:30:10 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Beckmann <anbe@debian.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>. (Mon, 01 Jul 2013 01:30:10 GMT) (full text, mbox, link).


Message #62 received at 711055@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: Debian Bug Tracking System <711055@bugs.debian.org>
Subject: ucf: NMU fixing "Undefined subroutine &conffile::abs_path called at /usr/bin/ucfq line 529"
Date: Mon, 01 Jul 2013 03:26:23 +0200
[Message part 1 (text/plain, inline)]
Followup-For: Bug #711055
Control: tag -1 pending

Hi Manoj,

I just uploaded a NMU of ucf to DELAYED/5. It consists of Mathieu's
patch and the two attached paches from me.


Andreas
[0002-fix-VCS-Git-URL-to-not-point-to-an-outdated-reposito.patch (text/x-diff, attachment)]
[0003-release-3.0027-nmu1.patch (text/x-diff, attachment)]

Added tag(s) pending. Request was from Andreas Beckmann <anbe@debian.org> to 711055-submit@bugs.debian.org. (Mon, 01 Jul 2013 01:30:10 GMT) (full text, mbox, link).


Reply sent to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility. (Sat, 06 Jul 2013 01:51:05 GMT) (full text, mbox, link).


Notification sent to Andreas Beckmann <anbe@debian.org>:
Bug acknowledged by developer. (Sat, 06 Jul 2013 01:51:05 GMT) (full text, mbox, link).


Message #69 received at 711055-close@bugs.debian.org (full text, mbox, reply):

From: Andreas Beckmann <anbe@debian.org>
To: 711055-close@bugs.debian.org
Subject: Bug#711055: fixed in ucf 3.0027+nmu1
Date: Sat, 06 Jul 2013 01:48:05 +0000
Source: ucf
Source-Version: 3.0027+nmu1

We believe that the bug you reported is fixed in the latest version of
ucf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 711055@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated ucf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 01 Jul 2013 02:59:15 +0200
Source: ucf
Binary: ucf
Architecture: source all
Version: 3.0027+nmu1
Distribution: unstable
Urgency: medium
Maintainer: Manoj Srivastava <srivasta@debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description: 
 ucf        - Update Configuration File(s): preserve user changes to config fil
Closes: 711055
Changes: 
 ucf (3.0027+nmu1) unstable; urgency=medium
 .
   [ Andreas Beckmann ]
   * Non-maintainer upload.
   * Set urgency to medium for RC bugfix.
   * Fix VCS-Git URL to not point to an outdated repository.
 .
   [ Mathieu Parent ]
   * Put the Cwd at the right place.  (Closes: #711055)
Checksums-Sha1: 
 d8f81749be03d65e1d880cda99aa350a78a1a2db 1555 ucf_3.0027+nmu1.dsc
 815f3412d592d4e294658d6f8b4884da6162c07f 75904 ucf_3.0027+nmu1.tar.gz
 0e6ca0a8f39efda7a20a01a86fdd7f12d18e2545 70586 ucf_3.0027+nmu1_all.deb
Checksums-Sha256: 
 cffece92dae3ad8cd40017b9bb591c48ed1f08119a6406ea2b6f135fe96e45ca 1555 ucf_3.0027+nmu1.dsc
 eb76483d4fac5250b21d702f4314e1e206e9461b56d228a805aca9e617ddb95f 75904 ucf_3.0027+nmu1.tar.gz
 18583f6bdf6819ac4031740ca9cfd10f698cd0efccf19b30eda0a7aac9a744b1 70586 ucf_3.0027+nmu1_all.deb
Files: 
 72888ebc79111b866bf39e1b8161d40d 1555 utils standard ucf_3.0027+nmu1.dsc
 e6a556d656ecbccf224e1825b15115c2 75904 utils standard ucf_3.0027+nmu1.tar.gz
 59130cfc9c54af6a05fbcfcb9f88cd41 70586 utils standard ucf_3.0027+nmu1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJR0NfhAAoJEF+zP5NZ6e0IygMP/RV2PMTLzyt5llI2ccXhGOn5
y6NWX31HI99FgCP+vznVpp+Hj60wJp21Umex5bM1vJtAGBX7/ZU3VhKxdqOHb/ad
3tmlo/5EGoyj4PRg+mGUnVKDphAIvB0biZ4FFW5Gn3+0n2oJvhihxEz1NsTA+Dzl
0sffnpOwUUngNoSZq2wPOtPRZKXFFSHJUkjffjubDf3Y6DRlT/pgWywVRFLstZ40
6xev4FGTe1kNkx7ONiPYGD01VkYi7Y+U5ADqh5pz3RHKBBW/yv9A6VdUTuX8zIdh
lgiHstFbpRADBa4CZ0EyaoL0AvgHP+eNusmqmYJ6yIamwztMjIxw/F76gk5hCTAX
VnPdTaca3WQs9RPisoi3Wq0MCqA/9qRyuB03ozDPL87zlNUKY2iEGxX9i5T+RWiB
lq4sncLtDYtnXcpgNpty0k80rJfRScfrhtpWLufzhi6lRaGjr3pihyzZ8pG5bodb
ExC/F01BztS4jxaaH+S9NORYkJqDXC2Q0uOchq8Kw8x5seP9x9TyGqe7kKwyIv8S
ke11R7+hUNynDMz87oqCYGXuFViz0H/+6cesHM6YkIdTJ0EAQh6PrEI1YDN5IMBf
7pgo+j4kIJ21CVbU6n4uBCBF3T61EcEFEht50xIX4MjiY6GFCUfFhWEm9cUmWgkf
Zi32q0/AcyNEx1Df48ZX
=+gNb
-----END PGP SIGNATURE-----




Reply sent to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility. (Sat, 06 Jul 2013 01:51:06 GMT) (full text, mbox, link).


Notification sent to jidanni@jidanni.org:
Bug acknowledged by developer. (Sat, 06 Jul 2013 01:51:06 GMT) (full text, mbox, link).


Reply sent to Andreas Beckmann <anbe@debian.org>:
You have taken responsibility. (Sat, 06 Jul 2013 01:51:07 GMT) (full text, mbox, link).


Notification sent to "Alan Chandler" <alan@chandlerfamily.org.uk>:
Bug acknowledged by developer. (Sat, 06 Jul 2013 01:51:07 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 08 Aug 2013 07:30:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 00:37:08 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.