Subject: misc/19029: /etc/rc.d/some-script could give better warnings
To: None <>
From: None <>
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
>Originator:     Paul Hoffman
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (SCRUZ) #0: Mon Nov 4 18:11:22 PST 2002 i386
Architecture: i386
Machine: i386
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.
Every time	
Suggested fix: change the error message to
   ERROR: $some-script is not set properly; set this in /etc/rc.conf.