[php-maint] Bug#492025: Bug#492025: Bug#492025: Bug#492025: Timezone database is corrupt

sean finney seanius at debian.org
Wed Jul 23 15:13:10 UTC 2008


hi,

On Wednesday 23 July 2008 04:57:26 pm Martin Sebald wrote:
> how do I check the timezonedb file? I think it should be ok because php
> 5.2.5-3 runs fine. But I will test the file anyway to be sure.
>
> Is this timezone file new with 5.2.6-2? If yes and if it is located at a
> new location php might not have the right to access it on our system. We
> are preventing that php scripts can access everything on our servers.

ah, that is in fact the problem, i would guess.  in 5.2.6-1 we patched php5 to 
use the system timezone db instead of the one embedded within php itself.  
previously the timezones would fall out of sync whenever there was an update 
to the timezone database, and upstream php was not the most accomodating for 
providing isolated updates for the timezone database that didn't also include 
everything else that they had changed[1].

my guess is that your security rules are blocking access to /etc/localtime and 
files under /usr/share/zoneinfo then.


	sean

[1] and jftr, this patch is also in use by other distributions, such as 
redhat, gentoo, and of course ubuntu, so we're not exactly going it alone 
here :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080723/b093b286/attachment-0001.pgp 


More information about the pkg-php-maint mailing list