From: timo.gurr@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8532: postgres fails to start with timezone-data >=2013e
Date: Wed, 16 Oct 2013 10:09:28 +0000
Message-ID: <E1VWO2i-0003Fk-TC@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: timo.gurr@gmail.com
Subject: Re: BUG #8532: postgres fails to start with timezone-data >=2013e
In-Reply-To: <E1VWO2i-0003Fk-TC@wrigleys.postgresql.org>
References: <E1VWO2i-0003Fk-TC@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox