Subject: bin/9657: dhclient requires writable leases file
To: None <>
From: John Hawkinson <>
List: netbsd-bugs
Date: 03/21/2000 18:36:05
>Number:         9657
>Category:       bin
>Synopsis:       dhclient requires writable leases file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 21 18:36:01 2000
>Originator:     John Hawkinson
>Release:        NetBSD 1.4.2
System: NetBSD 1.4.2 NetBSD 1.4.2 (GENERIC) #3: Wed Mar 15 23:41:54 PST 2000 i386

	dhclient really wants to be able to write to /var/db/dhclient_leases,
and will refuse to get a lease if it cannot do so. Unfortunately, there
are are plenty of times where you might want to get a dhcp
lease without a writable /var (e.g. single-user mode). dhclient should
allow you to get a lease without being able to write out the leases

	Perhaps such behavior should be controlled by a command-line

	A crude workaround would be to run dhclient under chroot(8)
I don't think that's really acceptable though.