Debian Bug report logs -
#834189
php-common: php-maintscript-helper loses admin changes on package reinstall/upgrade
Reported by: Felipe Sateler <fsateler@debian.org>
Date: Fri, 12 Aug 2016 21:27:01 UTC
Severity: serious
Found in version php-defaults/42
Fixed in version php-defaults/44
Done: Ondřej Surý <ondrej@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, fsateler@debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#834189; Package php-common.
(Fri, 12 Aug 2016 21:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Felipe Sateler <fsateler@debian.org>:
New Bug report received and forwarded. Copy sent to fsateler@debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 12 Aug 2016 21:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php-common
Version: 1:42
Severity: serious
Justification: Policy 10.7.3
Policy says: local changes must be preserved during a package upgrade.
And yet:
% ls -l /etc/php/7.0/cli/conf.d/20-xdebug.ini
lrwxrwxrwx 1 root root 38 Aug 12 16:15 /etc/php/7.0/cli/conf.d/20-xdebug.ini -> /etc/php/7.0/mods-available/xdebug.ini
% sudo phpdismod -s cli xdebug
% ls -l /etc/php/7.0/cli/conf.d/20-xdebug.ini
ls: cannot access '/etc/php/7.0/cli/conf.d/20-xdebug.ini': No such file or directory
% sudo apt install --reinstall php-xdebug
<snip>
% ls -l /etc/php/7.0/cli/conf.d/20-xdebug.ini
lrwxrwxrwx 1 root root 38 Aug 12 17:17 /etc/php/7.0/cli/conf.d/20-xdebug.ini -> /etc/php/7.0/mods-available/xdebug.ini
Turns out p-m-s unconditionally calls phpenmod, and thus overrides admin
configuration on upgrades.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages php-common depends on:
ii psmisc 22.21-2.1+b1
ii sed 4.2.2-7.1
php-common recommends no packages.
php-common suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#834189; Package php-common.
(Fri, 12 Aug 2016 21:45:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Anton Mitterer <calestyo@scientia.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 12 Aug 2016 21:45:04 GMT) (full text, mbox, link).
Message #10 received at 834189@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
duplicate of #831807?
Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]
Reply sent
to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility.
(Mon, 15 Aug 2016 09:57:25 GMT) (full text, mbox, link).
Notification sent
to Felipe Sateler <fsateler@debian.org>:
Bug acknowledged by developer.
(Mon, 15 Aug 2016 09:57:25 GMT) (full text, mbox, link).
Message #15 received at 834189-close@bugs.debian.org (full text, mbox, reply):
Source: php-defaults
Source-Version: 44
We believe that the bug you reported is fixed in the latest version of
php-defaults, 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 834189@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated php-defaults 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: SHA512
Format: 1.8
Date: Mon, 15 Aug 2016 11:14:54 +0200
Source: php-defaults
Binary: libapache2-mod-php libphp-embed php php-all-dev php-bcmath php-bz2 php-cgi php-cli php-common php-curl php-dev php-enchant php-fpm php-gd php-gmp php-imap php-interbase php-intl php-json php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pgsql php-phpdbg php-pspell php-readline php-recode php-snmp php-soap php-sqlite3 php-sybase php-tidy php-xml php-xmlrpc php-zip
Architecture: source
Version: 44
Distribution: unstable
Urgency: high
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Description:
libapache2-mod-php - server-side, HTML-embedded scripting language (Apache 2 module) (
libphp-embed - HTML-embedded scripting language (Embedded SAPI library) (default
php - server-side, HTML-embedded scripting language (default)
php-all-dev - package depending on all supported PHP development packages
php-bcmath - Bcmath module for PHP [default]
php-bz2 - bzip2 module for PHP [default]
php-cgi - server-side, HTML-embedded scripting language (CGI binary) (defau
php-cli - command-line interpreter for the PHP scripting language (default)
php-common - Common files for PHP packages
php-curl - CURL module for PHP [default]
php-dev - Files for PHP module development (default)
php-enchant - Enchant module for PHP [default]
php-fpm - server-side, HTML-embedded scripting language (FPM-CGI binary) (d
php-gd - GD module for PHP [default]
php-gmp - GMP module for PHP [default]
php-imap - IMAP module for PHP [default]
php-interbase - Interbase module for PHP [default]
php-intl - Internationalisation module for PHP [default]
php-json - JSON module for PHP [default]
php-ldap - LDAP module for PHP [default]
php-mbstring - MBSTRING module for PHP [default]
php-mcrypt - libmcrypt module for PHP [default]
php-mysql - MySQL module for PHP [default]
php-odbc - ODBC module for PHP [default]
php-pgsql - PostgreSQL module for PHP [default]
php-phpdbg - server-side, HTML-embedded scripting language (PHPDBG binary) (de
php-pspell - pspell module for PHP [default]
php-readline - readline module for PHP [default]
php-recode - recode module for PHP [default]
php-snmp - SNMP module for PHP [default]
php-soap - SOAP module for PHP [default]
php-sqlite3 - SQLite3 module for PHP [default]
php-sybase - Sybase module for PHP [default]
php-tidy - tidy module for PHP [default]
php-xml - DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
php-xmlrpc - XMLRPC-EPI module for PHP [default]
php-zip - Zip module for PHP [default]
Closes: 834189
Changes:
php-defaults (44) unstable; urgency=medium
.
* Don't lose status from check_mod() (Closes: #834189)
Checksums-Sha1:
5acb0b181517ebb4fd9b9154230ae53bc8214342 3516 php-defaults_44.dsc
2abbab15ce94a315b6bd0f8d2c0ce2444cfece96 14088 php-defaults_44.tar.xz
Checksums-Sha256:
e3e37a5f60f67eb11e6bea61951d010814b5745ad65f408056966f4c58aad130 3516 php-defaults_44.dsc
82a5ba88d212e6f2ae418d96ab0f30357764b93bcf8b7b7405245c3b9ada2474 14088 php-defaults_44.tar.xz
Files:
757335a2a76da7befeae72562e8a79df 3516 php optional php-defaults_44.dsc
36d1dd328994c03344e6b0984d5b3dc3 14088 php optional php-defaults_44.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQJ8BAEBCgBmBQJXsYilXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHo50P/0KuTp/RwuNVobHZd8X4P4+d
DFDq2SPjz+DuY6PmFlWlbG+f/fqj3qpunX+qnxk5WsKepNGynYdsCex9Z3NpP2dS
W97VHanP4UP9CEwc6HWwTY8yDy3LXc8liEPK5S1G4ZHMyco2yiRys9ZkXosBfItV
gH5adoIZSqPSKZevgDW1af0oqmJ6czmkgLcp4D9bkzHCHBK1VFPnfnuDCYpC+CoH
AatN+9nlkPHdjRPZ/MoHgJR5EaNyRz0dR2BrSkF5RyFbrOVbryMunvM6QVszAEPQ
53n2xHw7gz++/IYTI8QfVs5GjhnuKGD/GjSnQa6jEgbCjzTIkQmqTLMlmFAavbK5
qM4B1ZY0lA5wPE7AHK9QmQzEuxfAQ+agcpADnuWLP1b5+xAUauY2Hs8cGKAvUBDB
kAvm/SogOU0qRURZ2iFA7t/XsGIcKRGzj4jhuVIJDH7k7FheyKe7n4Ab+EPk/1TV
I53iQ3/Gg7R207awG8WfcM1CNsX4JRVap34JSoPOcpEGbnGGW+GWbsHxwUVWeJVF
1No100QG0K8d+IpriHUt4yxm9eaXUotxj4eZVSYBaXzksM2JGe7nY54+esjrJ7nx
44ASJwVKwq7FH/fwmprp1a+6xFKIMSlzSuH+dyc3NSlRPTdj5MRMRW3EOTRvNB0l
ZbbeMrSwnmFRYaKGQPJr
=bTEE
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 15 Sep 2016 07:35:44 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 02:55:09 2023;
Machine Name:
bembo
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.