Subject: misc/19029: /etc/rc.d/some-script could give better warnings
To: None <gnats-bugs@gnats.netbsd.org>
From: None <root@scruz.proper.com>
List: netbsd-bugs
Date: 11/12/2002 13:41:26
>Number:         19029
>Category:       misc
>Synopsis:       /etc/rc.d/some-script could give better warnings
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 12 13:42:03 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Hoffman
>Release:        NetBSD 1.6
>Organization:
	none
>Environment:
System: NetBSD scruz.proper.com 1.6 NetBSD 1.6 (SCRUZ) #0: Mon Nov 4 18:11:22 PST 2002 root@scruz.proper.com:/usr/src/sys/arch/i386/compile/SCRUZ i386
Architecture: i386
Machine: i386
>Description:
If I try to run '/etc/rc.d/some-script start' but I have not updated
/etc/rc.conf to say "some-script=YES", I get the unhelpful error:
   WARNING: $some-script is not set properly.
That is wrong: it is not a warning (at least in the case of named9), and
it doesn't say how to fix it.
>How-To-Repeat:
Every time	
>Fix:
Suggested fix: change the error message to
   ERROR: $some-script is not set properly; set this in /etc/rc.conf.
>Release-Note:
>Audit-Trail:
>Unformatted: