[php-maint] Bug#690409: php5-xcache: upgrades clobber local changes to xcache.ini
stuart at debian.org
Wed Oct 31 19:39:56 UTC 2012
> On my test system, after upgrading from Squeeze to Wheezy, I have both
> the old configuration file and the new one in /etc/php5/conf.d/:
> 10-pdo.ini -> ../mods-available/pdo.ini
> 20-xcache.ini -> ../mods-available/xcache.ini
> Both seem to be taken into account somehow, as shown by this warning:
Ahh, you are indeed right -- the old conffile is still present and marked as
obsolete by dpkg. (I guess I must have missed that amongst the new directory
So, yes... local admin changes are preserved; the admin is just left with a
mess because of the wrong path to the .so. Feel free to assign whatever
priority you would like to give this in the BTS, but it does look like it is
in the "needs fixing for wheezy" (with minimal changes) category. As one of our
release managers commented when we were discussing this bug earlier:
[18:03] <adsb> arguably http://release.debian.org/wheezy/rc_policy.txt 5a says
"package must not be on crack", but I think that's about as explicit as we
get. "must not screw the admin over" shouldn't need to be codified
On Wednesday 31 October 2012 17:00:49 Michal Čihař wrote:
> Anyway the important bit is that path to load the module needs to be
> adjusted as well on upgrade (if keeping old config file), what I did not
> know how to do properly (old version had hardcoded path to xcache.so,
> while new has omitted this).
That does not appear to be correct with php5-xcache 2.0.0-2 currently in
$ grep zend_extension /etc/php5/mods-available/xcache.ini
zend_extension = /usr/lib/php5/20100525+lfs/xcache.so
... so this problem is a problem that will keep on giving.
/etc/php5/mods-available/xcache.ini is also a conffile again (whereas many of
the other php module packages seem to have gone to ucf for the configuration
file handling to help cope with these sorts of situations).
Stuart Prescott http://www.nanonanonano.net/ stuart at nanonanonano.net
Debian Developer http://www.debian.org/ stuart at debian.org
GPG fingerprint BE65 FD1E F4EA 08F3 23D4 3C6D 9FE8 B8CD 71C5 D1A8
GPG fingerprint 90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the pkg-php-maint