BUG #8532: postgres fails to start with timezone-data >=2013e - Mailing list pgsql-bugs

From timo.gurr@gmail.com
Subject BUG #8532: postgres fails to start with timezone-data >=2013e
Date
Msg-id E1VWO2i-0003Fk-TC@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #8532: postgres fails to start with timezone-data >=2013e  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8532
Logged by:          Timo Gurr
Email address:      timo.gurr@gmail.com
PostgreSQL version: 9.1.10
Operating system:   Gentoo Linux (64bit, kernel 3.11.0, glibc 2.17)
Description:

>From the timezone-data NEWS:


Release 2013e - 2013-09-19 23:50:04 -0700
  Changes affecting the build procedure
    When building the 'posix' or 'right' subdirectories, if the
    subdirectory would be a copy of the default subdirectory, it is
    now made a symbolic link if that is supported.  This saves about
    2 MB of file system space.


This change breaks postgres, so then having a recent enough timezone-data
package installed on the system postgres fails to start:


/var/lib/postgresql/9.1/data/postmaster.log
FATAL:  exceeded maxAllocatedDescs (16) while trying to open directory
"/usr/share/zoneinfo"


# ls -la /usr/share/zoneinfo/
lrwxrwxrwx  1 root root     1 Oct 16 12:06 posix -> .


Gentoo has a downstream bugreport about it stating the problem should be
fixed on the postgres side:
https://bugs.gentoo.org/show_bug.cgi?id=486556
Also found on the net:
http://blog.endpoint.com/2013/06/debugging-obscure-postgres-problems.html


The mentioned workaround by manually removing the symlink lets postgres
start fine again.

pgsql-bugs by date:

Previous
From: digoal@126.com
Date:
Subject: BUG #8531: systemtap probe mark(checkpoint__done) error when i read the parameters
Next
From: m@pplcast.com
Date:
Subject: BUG #8533: JSON error caused by optimisation