From owner-freebsd-ports Wed Aug 6 00:40:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06352 for ports-outgoing; Wed, 6 Aug 1997 00:40:03 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06325; Wed, 6 Aug 1997 00:40:02 -0700 (PDT) Resent-Date: Wed, 6 Aug 1997 00:40:02 -0700 (PDT) Resent-Message-Id: <199708060740.AAA06325@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, bovynf@awe.be Received: (from nobody@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA06107; Wed, 6 Aug 1997 00:35:33 -0700 (PDT) Message-Id: <199708060735.AAA06107@hub.freebsd.org> Date: Wed, 6 Aug 1997 00:35:33 -0700 (PDT) From: bovynf@awe.be To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: ports/4232: Boot-time start of postgressql postmaster doen't work Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 4232 >Category: ports >Synopsis: Boot-time start of postgressql postmaster doen't work >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 6 00:40:01 PDT 1997 >Last-Modified: >Originator: Filip Bovyn >Organization: >Release: 2.2 STABLE from a week ago >Environment: >Description: /usr/local/etc/rc.d/postgresql.sh tries to start the postgress postmaster daemon, but it gets killed again when /etc/rc exits. This is because the shell that runs /etc/rc is a session leader, and all processes in its session get killed when its exits. (or do they exit when they try to do terminal I/O ?? I am not sure about this) >How-To-Repeat: Install the postgresql port and reboot. Check if the postmaster daemon is running. >Fix: Add the -S option when starting the postmaster, to make it run in its own session. >Audit-Trail: >Unformatted: