Bug#398177: [php-maint] Bug#398177: libapache2-mod-php4: Non-changes to php.ini not detected correctly

sean finney seanius at debian.org
Sun Nov 12 12:39:12 CET 2006


On Sun, 2006-11-12 at 01:45 -0800, Steve Langasek wrote:
> > When I upgraded libapache2-mod-php4 from version 4.4.4-3 to 4.4.4-6, ucf
> > asked be if I wanted to keep my modified php.ini file, or if I wanted to
> > install the new file but... I never made any changes to the php.ini file.
> 
> So you never installed any php extension packages, or you refused to let
> these packages auto-update php.ini for you?

i think i've seen this as well.  afaict the problem is because in
the old version of php, the php.ini file was *copied* from /usr/share
during the postinst script, and thus in >> 4.4.4-4 (when ucf was
introduced), the first time it's run it sees the existing file and
treats it as locally modified.

so then, the fix for this would be to check for upgrades from << 4.4.4-4
when php.ini hasn't been modified, and to copy over the new file before
running ucf to register it?


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20061112/6f845b02/attachment.pgp


More information about the pkg-php-maint mailing list