Subject: misc/18318: No warning for missing rc.conf line when starting postgres
To: None <>
From: None <>
List: netbsd-bugs
Date: 09/17/2002 02:44:57
>Number:         18318
>Category:       misc
>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:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 17 03:11:00 PDT 2002
>Release:        NetBSD 1.6
System: NetBSD helpdesk 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 i386
Architecture: i386
Machine: i386
	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.
	just add some output to the postgres rc.d script that let's the user know why it's
	not starting.