Bugzilla 3.4 localtime issue on CentOS
While recently upgrading and moving Bugzilla to 3.4.2 I ran into an issue on a CentOS 5 server that was giving the following error any time I tried to access a buglist:
undef error – Cannot determine local time zone
After some searching I finally discovered that the issue was with Bugzilla looking for the timezone information in /etc/localtime, while CentOS had not updated that file since it’s original installation.
The solution is to change /etc/localtime to a symlink that leads to the correct timezone file for you:
ln -sf /usr/share/zoneinfo/America/Los_Angeles /etc/localtime