Actually, isn't this policy violation? 10.7.3:
Configuration file handling must conform to the following behavior: local changes must be preserved during a package upgrade On Wed, Oct 28, 2015 at 03:02:46PM +0200, Antti Salmela wrote: > I don't think that this is just a documentation issue, behaviour is just too > unexpected. > dpkg doesn't recreate removed config files, apache2 has similar helpers, but > it doesn't recreate > links removed by hand on update. > > -- Antti > > On Wed, Oct 28, 2015 at 01:21:06PM +0100, Ondřej Surý wrote: > > Control: severity -1 minor > > Control: reassign 797350 php5-common > > Control: forcemerge 797350 -1 > > > > Dear Antti, > > > > yes, the documentation on module management could be improved, and it > > has been already filled as 803244. > > > > Cheers, > > Ondrej > > > > On Wed, Oct 28, 2015, at 12:30, Antti Salmela wrote: > > > Package: php5-common > > > Version: 5.6.14+dfsg-0+deb8u1 > > > Severity: serious > > > > > > Dear Maintainer, > > > > > > I was under impression that maintainer scripts shouldn't recreate > > > configuration files removed by system administrator. php5-common just > > > recreated symbolic link from /etc/php5/sapi/conf.d/05-opcache.ini to > > > mods-available, > > > which I had removed since xcache works better for us and enabling both > > > segfaults apache. > > > > > > And yes, after enough digging I found about php5dismod and > > > /var/lib/php5/modules/fpm/disabled_by_admin/, > > > but this behaviour is quite unexpected. > > > > > > -- Package-specific info: > > > ==== Additional PHP 5 information ==== > > > > > > ++++ PHP 5 SAPI (php5query -S): ++++ > > > fpm > > > cli > > > cgi > > > > > > ++++ PHP 5 Extensions (php5query -M -v): ++++ > > > mysql (Enabled for fpm by maintainer script) > > > mysql (Enabled for cli by maintainer script) > > > mysql (Enabled for cgi by maintainer script) > > > pspell (Enabled for fpm by maintainer script) > > > pspell (Enabled for cli by maintainer script) > > > pspell (Enabled for cgi by maintainer script) > > > intl (Enabled for fpm by maintainer script) > > > intl (Enabled for cli by maintainer script) > > > intl (Enabled for cgi by maintainer script) > > > pdo (Enabled for fpm by maintainer script) > > > pdo (Enabled for cli by maintainer script) > > > pdo (Enabled for cgi by maintainer script) > > > mysqli (Enabled for fpm by maintainer script) > > > mysqli (Enabled for cli by maintainer script) > > > mysqli (Enabled for cgi by maintainer script) > > > curl (Enabled for fpm by maintainer script) > > > curl (Enabled for cli by maintainer script) > > > curl (Enabled for cgi by maintainer script) > > > mcrypt (Enabled for fpm by maintainer script) > > > mcrypt (Enabled for cli by maintainer script) > > > mcrypt (Enabled for cgi by maintainer script) > > > pdo_mysql (Enabled for fpm by maintainer script) > > > pdo_mysql (Enabled for cli by maintainer script) > > > pdo_mysql (Enabled for cgi by maintainer script) > > > gd (Enabled for fpm by maintainer script) > > > gd (Enabled for cli by maintainer script) > > > gd (Enabled for cgi by maintainer script) > > > pgsql (Enabled for fpm by maintainer script) > > > pgsql (Enabled for cli by maintainer script) > > > pgsql (Enabled for cgi by maintainer script) > > > pdo_sqlite (Enabled for fpm by maintainer script) > > > pdo_sqlite (Enabled for cli by maintainer script) > > > pdo_sqlite (Enabled for cgi by maintainer script) > > > pdo_pgsql (Enabled for fpm by maintainer script) > > > pdo_pgsql (Enabled for cli by maintainer script) > > > pdo_pgsql (Enabled for cgi by maintainer script) > > > json (Enabled for fpm by maintainer script) > > > json (Enabled for cli by maintainer script) > > > json (Enabled for cgi by maintainer script) > > > imap (Enabled for fpm by maintainer script) > > > imap (Enabled for cli by maintainer script) > > > imap (Enabled for cgi by maintainer script) > > > xcache (Enabled for fpm by maintainer script) > > > xcache (Enabled for cli by maintainer script) > > > xcache (Enabled for cgi by maintainer script) > > > sqlite3 (Enabled for fpm by maintainer script) > > > sqlite3 (Enabled for cli by maintainer script) > > > sqlite3 (Enabled for cgi by maintainer script) > > > > > > ++++ Configuration files: ++++ > > > **** /etc/php5/mods-available/pdo.ini **** > > > extension=pdo.so > > > > > > **** /etc/php5/mods-available/opcache.ini **** > > > zend_extension=opcache.so > > > > > > > > > -- System Information: > > > Debian Release: 8.2 > > > APT prefers stable > > > APT policy: (900, 'stable'), (890, 'testing'), (499, 'unstable'), (101, > > > 'experimental') > > > Architecture: amd64 (x86_64) > > > > > > Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) > > > Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) > > > Shell: /bin/sh linked to /bin/dash > > > Init: systemd (via /run/systemd/system) > > > > > > Versions of packages php5-common depends on: > > > ii libc6 2.19-18+deb8u1 > > > ii lsof 4.86+dfsg-1 > > > ii psmisc 22.21-2 > > > ii sed 4.2.2-4+b1 > > > ii ucf 3.0030 > > > > > > php5-common recommends no packages. > > > > > > Versions of packages php5-common suggests: > > > ii php5-xcache [php5-user-cache] 3.2.0-1 > > > > > > Versions of packages php5-cli depends on: > > > ii libbz2-1.0 1.0.6-7+b3 > > > ii libc6 2.19-18+deb8u1 > > > ii libcomerr2 1.42.12-1.1 > > > ii libdb5.3 5.3.28-9 > > > ii libedit2 3.1-20140620-2 > > > ii libgssapi-krb5-2 1.12.1+dfsg-19 > > > ii libk5crypto3 1.12.1+dfsg-19 > > > ii libkrb5-3 1.12.1+dfsg-19 > > > ii libmagic1 1:5.22+15-2 > > > ii libonig2 5.9.5-3.2 > > > ii libpcre3 2:8.35-3.3 > > > ii libqdbm14 1.8.78-5+b1 > > > ii libssl1.0.0 1.0.2d-1 > > > ii libxml2 2.9.1+dfsg1-5 > > > ii mime-support 3.58 > > > ii php5-json 1.3.6-1 > > > ii tzdata 2015f-0+deb8u1 > > > ii ucf 3.0030 > > > ii zlib1g 1:1.2.8.dfsg-2+b1 > > > > > > Versions of packages php5-cli recommends: > > > pn php5-readline <none> > > > > > > Versions of packages php5-cli suggests: > > > ii php-pear 5.6.14+dfsg-0+deb8u1 > > > > > > Versions of packages php5-cgi depends on: > > > ii libbz2-1.0 1.0.6-7+b3 > > > ii libc6 2.19-18+deb8u1 > > > ii libcomerr2 1.42.12-1.1 > > > ii libdb5.3 5.3.28-9 > > > ii libgssapi-krb5-2 1.12.1+dfsg-19 > > > ii libk5crypto3 1.12.1+dfsg-19 > > > ii libkrb5-3 1.12.1+dfsg-19 > > > ii libmagic1 1:5.22+15-2 > > > ii libonig2 5.9.5-3.2 > > > ii libpcre3 2:8.35-3.3 > > > ii libqdbm14 1.8.78-5+b1 > > > ii libssl1.0.0 1.0.2d-1 > > > ii libxml2 2.9.1+dfsg1-5 > > > ii mime-support 3.58 > > > ii php5-cli 5.6.14+dfsg-0+deb8u1 > > > ii php5-json 1.3.6-1 > > > ii tzdata 2015f-0+deb8u1 > > > ii ucf 3.0030 > > > ii zlib1g 1:1.2.8.dfsg-2+b1 > > > > > > Versions of packages php5-cgi suggests: > > > ii php-pear 5.6.14+dfsg-0+deb8u1 > > > > > > Versions of packages php5-fpm depends on: > > > ii init-system-helpers 1.22 > > > ii libapparmor1 2.9.0-3 > > > ii libbz2-1.0 1.0.6-7+b3 > > > ii libc6 2.19-18+deb8u1 > > > ii libcomerr2 1.42.12-1.1 > > > ii libdb5.3 5.3.28-9 > > > ii libgssapi-krb5-2 1.12.1+dfsg-19 > > > ii libk5crypto3 1.12.1+dfsg-19 > > > ii libkrb5-3 1.12.1+dfsg-19 > > > ii libmagic1 1:5.22+15-2 > > > ii libonig2 5.9.5-3.2 > > > ii libpcre3 2:8.35-3.3 > > > ii libqdbm14 1.8.78-5+b1 > > > ii libssl1.0.0 1.0.2d-1 > > > ii libsystemd0 215-17+deb8u2 > > > ii libxml2 2.9.1+dfsg1-5 > > > ii mime-support 3.58 > > > ii php5-cli 5.6.14+dfsg-0+deb8u1 > > > ii php5-json 1.3.6-1 > > > ii tzdata 2015f-0+deb8u1 > > > ii ucf 3.0030 > > > ii zlib1g 1:1.2.8.dfsg-2+b1 > > > > > > Versions of packages php5-fpm suggests: > > > ii php-pear 5.6.14+dfsg-0+deb8u1 > > > > > > -- no debconf information > > > > > > _______________________________________________ > > > pkg-php-maint mailing list > > > pkg-php-ma...@lists.alioth.debian.org > > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint > > > > > > -- > > Ondřej Surý <ond...@sury.org> > > Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server > >