Comment 11 for bug 12071

Revision history for this message
In , Jeroen van Wolffelaar (jeroenvw) wrote : Re: Different, but related

On Wed, Nov 24, 2004 at 08:56:16PM +0100, Thomas Hood wrote:
> #282740 is indeed a different issue from #246621; however, it will only
> be worth the trouble moving the leases file to /var/lib/ once #246621 is
> fixed (so that bringing down an interface in the normal way doesn't
> relinquish the lease). For that reason I am merging the reports. Once
> #246621 is done we should do #246621 too.

I disagree that #246621 should be a prerequisite, rather, if you have
saved the lease across a reboot, the dhcp client will at least try to
get a similar lease (i.e., same IP address, most likely). And as noted
before, in case of a power failure, the lease will be in the file
regardless.

This has bothered me for a while, and only now I've found out it isn't
dhclient's fault, but actually caused by ifupdown... And I'd like to
urge you to consider reverting the behaviour to what it was before, to
store leases in /var/lib. Note also that the dhcp-client manpages
advertises stuff to be placed in /var/lib.

Especially since the location is not configureable, this is would be
really nice to have.

Thanks very much,
--Jeroen

--
Jeroen van Wolffelaar
<email address hidden>
http://jeroen.A-Eskwadraat.nl