Subject: misc/23908: Invalid reference from /etc/daily to a manual entry in rc.conf(5)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <wouter@schoot.org>
List: netbsd-bugs
Date: 12/28/2003 11:00:52
>Number:         23908
>Category:       misc
>Synopsis:       Invalid reference from /etc/daily to a manual entry in rc.conf(5)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 28 11:01:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Wouter Schoot
>Release:        NetBSD 1.6.2_RC3
>Organization:
>Environment:
NetBSD gehakt 1.6.2_RC3 NetBSD 1.6.2_RC3 (GEHAKT) #0: Fri Dec 19 21:21:47 CET 2003     ascent@gehakt:/usr/src/sys/arch/i386/compile/GEHAKT i386

>Description:
I wanted to have my computer do updatedb daily, so thinking I was smart, I added the section regarding updatedb from /etc/weekly to /etc/daily, and read the report next day.. It seems not to be working, because I got the following comment:

/etc/daily: WARNING: $rebuild_locatedb is not set properly - see rc.conf(5).

However, "man 5 rc.conf" doesn't show anything regarding "rebuild_locatedb"
>How-To-Repeat:
Do Wrong Things (tm) :P

Add things to /etc/daily, which are not defined in /etc/daily.conf, and read wrong pointers for the docs.
>Fix:
Well, the docs should point to man 5 weekly.conf and not to man 5 rc.conf, but I don't have a clue howto build a diff for that ;)
>Release-Note:
>Audit-Trail:
>Unformatted: