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

From: reinhard(at)m4x(dot)de
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #7559: syslogger doesn't close stdout and stderr
Date: 2012-09-19 15:59:45
Message-ID: E1TEMgj-0005PY-Hy@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: 7559
Logged by: Reinhard Max
Email address: reinhard(at)m4x(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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next 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
Previous Message Stuart Bishop 2012-09-19 14:02:52 Re: BUG #7546: Backups on hot standby cancelled despite hot_standby_feedback=on