Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 1997 00:35:33 -0700 (PDT)
From:      bovynf@awe.be
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/4232: Boot-time start of postgressql postmaster doen't work
Message-ID:  <199708060735.AAA06107@hub.freebsd.org>
Resent-Message-ID: <199708060740.AAA06325@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708060735.AAA06107>