Subject: misc/19029: /etc/rc.d/some-script could give better warnings
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 11/12/2002 13:41:26
>Synopsis: /etc/rc.d/some-script could give better warnings
>Arrival-Date: Tue Nov 12 13:42:03 PST 2002
>Originator: Paul Hoffman
>Release: NetBSD 1.6
System: NetBSD scruz.proper.com 1.6 NetBSD 1.6 (SCRUZ) #0: Mon Nov 4 18:11:22 PST 2002 email@example.com:/usr/src/sys/arch/i386/compile/SCRUZ 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.
Suggested fix: change the error message to
ERROR: $some-script is not set properly; set this in /etc/rc.conf.