Comment 2 for bug 12071

Revision history for this message
In , Matt Zimmerman (mdz) wrote : Re: Bug#282740: Defeats dhclient's attempts to store and reuse leases

On Wed, Nov 24, 2004 at 12:12:58PM +0000, <email address hidden> wrote:

> This is a duplicate of, or is related to, #246621.
>
> There is currently not much point in keeping the leases file in /var/lib/.
> The reason is that ifdown stops dhclient3 in such a way that dhclient3
> relinquishes the lease, thus removing the lease from the .leases file

This is actually a different issue. Consider my situation: there is a power
failure, and so ifdown is not called at all. The leases file is removed
during the boot process because it is in /var/run, and so dhclient cannot
regain the lease, even though it is still valid and has not been released.

--
 - mdz