Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMgm-0006Ri-0I for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 15:59:48 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMgk-0002BZ-L5 for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 15:59:47 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMgk-0007aR-4h for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 15:59:46 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TEMgj-0005PY-Hy for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 15:59:45 +0000 Date: Wed, 19 Sep 2012 15:59:45 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7559: syslogger doesn't close stdout and stderr To: pgsql-bugs@postgresql.org From: reinhard@m4x.de X-Pg-Spam-Score: -2.5 (--) X-Archive-Number: 201209/217 X-Sequence-Number: 34211 The following bug has been logged on the website: Bug reference: 7559 Logged by: Reinhard Max Email address: reinhard@m4x.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.