Subject: misc/36697: unexpanded variable in dhcpd.leases(5)
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ixel@gmx.de>
List: netbsd-bugs
Date: 07/28/2007 17:10:00
>Number:         36697
>Category:       misc
>Synopsis:       unexpanded variable in dhcpd.leases(5)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 28 17:10:00 +0000 2007
>Originator:     Martin Bock
>Release:        3.1
>Organization:
>Environment:
NetBSD burgund.occidentis 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006  builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
At the beginning of dhcpd.leases(5):

...
To make the initial lease database, just create an empty file called
/var/db/dhcpd.leases. You can do this with:

            touch DBDIR/dhcpd.leases

In  order to prevent the lease database from growing without bound, 
...

Clears the DBDIR after touch is not expanded, probably /var/db is meant.
>How-To-Repeat:
$ man dhcpd.leases
>Fix: