BUG #7561: syslogger doesn't close stdout and stderr

From: max(at)suse(dot)de
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7561: syslogger doesn't close stdout and stderr
Date: 2012-09-19 16:04:58
Message-ID: E1TEMlm-0005ZS-3Q@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: 7561
Logged by: Reinhard Max
Email address: max(at)suse(dot)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.

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-09-19 16:39:12 Re: BUG #7559: syslogger doesn't close stdout and stderr
Previous Message kamil 2012-09-19 16:01:09 BUG #7560: Crash on libpq-9.2.0 and openssl-1.0.1c on windows when openssl.cnf is not found