NetBSD Problem Report #18318
Received: (qmail 22309 invoked by uid 605); 17 Sep 2002 10:10:13 -0000
Message-Id: <200209170944.g8H9ivM06206@helpdesk.cypherus.com>
Date: Tue, 17 Sep 2002 02:44:57 -0700 (PDT)
From: kasper37@netzero.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: kasper37@netzero.com
To: gnats-bugs@gnats.netbsd.org
Subject: No warning for missing rc.conf line when starting postgres
X-Send-Pr-Version: 3.95
>Number: 18318
>Category: pkg
>Synopsis: If missing pgsql=YES in rc.conf, postgres won't start but won't say why.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Sep 17 10:11:00 +0000 2002
>Closed-Date: Sat Oct 19 18:58:18 +0000 2002
>Last-Modified: Sat Oct 19 18:58:18 +0000 2002
>Originator:
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD helpdesk 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
When trying to start any program that requires a line in rc.conf the rc script should
say that the program can't start without the appropriate rc.conf entry. After doing
a make install from pkgsrc on postgres I tried to start it (forgetting to add the
rc.conf line) and didn't receive any output.
>How-To-Repeat:
>Fix:
just add some output to the postgres rc.d script that let's the user know why it's
not starting.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: misc-bug-people->pkg-manager
Responsible-Changed-By: wiz
Responsible-Changed-When: Fri Sep 27 16:37:42 PDT 2002
Responsible-Changed-Why:
postgresql is not in base, so this is a pkg bug.
State-Changed-From-To: open->closed
State-Changed-By: jlam
State-Changed-When: Sat Oct 19 11:57:47 PDT 2002
State-Changed-Why:
From the commit log:
----------------------------
revision 1.14
date: 2002/10/19 18:00:16; author: jlam; state: Exp; lines: +1 -2
Don't default to pgsql=NO anymore, as rc.d scripts aren't copied into
/etc/rc.d by default any longer. This causes the usual warning to be
emitted when the script is executed.
----------------------------
Thanks for the PR!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.