Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMlo-0001R3-6I for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 16:05:00 +0000 Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMln-0002GR-4m for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 16:04:59 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TEMlm-0007ff-Ld for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 16:04:58 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1TEMlm-0005ZS-3Q for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 16:04:58 +0000 Date: Wed, 19 Sep 2012 16:04:58 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #7561: syslogger doesn't close stdout and stderr To: pgsql-bugs@postgresql.org From: max@suse.de X-Pg-Spam-Score: -2.5 (--) X-Archive-Number: 201209/212 X-Sequence-Number: 34206 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.