From: max@suse.de
To: pgsql-bugs@postgresql.org
Subject: BUG #7561: syslogger doesn't close stdout and stderr
Date: Wed, 19 Sep 2012 16:04:58 +0000
Message-ID: <E1TEMlm-0005ZS-3Q@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 7561
Logged by: Reinhard Max
Email address: max@suse.de
PostgreSQL version: 9.1.5
Operating system: openSUSE
Description:
When initially starting up, syslogger keeps stdout and stderr open instead
of closing them and reopening them from /dev/null for proper daemonisation.
This causes the process that triggers PostgreSQL to hang if it uses a pipe
to synchronize itself with the backgrounding of the server.
I've sent a proposed fix to Peter Eisentraut.
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: max@suse.de
Subject: Re: BUG #7561: syslogger doesn't close stdout and stderr
In-Reply-To: <E1TEMlm-0005ZS-3Q@wrigleys.postgresql.org>
References: <E1TEMlm-0005ZS-3Q@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