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

From: timo(dot)gurr(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #8532: postgres fails to start with timezone-data >=2013e
Date: 2013-10-16 10:09:28
Message-ID: E1VWO2i-0003Fk-TC@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 8532
Logged by: Timo Gurr
Email address: timo(dot)gurr(at)gmail(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message m 2013-10-16 19:43:23 BUG #8533: JSON error caused by optimisation
Previous Message digoal 2013-10-16 07:25:48 BUG #8531: systemtap probe mark(checkpoint__done) error when i read the parameters