dhcpcd-discuss

RE: TIMEOUT Reason Code

David Hauck

Thu Jun 22 16:31:28 2017

On Thursday, June 22, 2017 9:24 AM, Roy Marples wrote:
> On 22/06/2017 17:20, David Hauck wrote:
>> Hi Roy,
>> 
>> On Thursday, June 22, 2017 7:38 AM, Roy Marples wrote:
>>> On 22/06/2017 09:05, Roy Marples wrote:
>>>> Saying that, there is an issue where the lease will be discarded if
>>>> it has expired when dhcpcd starts up. If this is your issue,
>>>> subscribe to the below task and we'll see about fixing it.
>>>> https://dev.marples.name/T124
>>> 
>>> I forgot that the lastleaseextend directive allows this.
>>> You might need that option as well.
>> 
>> Just so I'm clear here: without lastleaseextend the lease *should* be deleted on expiration,
> regardless of lastlease, right?  That is, lastlease only refers to using the lease iff REBIND/REBOOT fails
> *and* the least hasn't expired. Once the lease has expired it rightfully should be discarded and the
> interface brought down.
> 
> The interface is never brought down, just de-configured if persistent is not set.

Right, "de-configured". My main point here was wrt the lease file being deleted. Does what I say above wrt this point make sense?

> The interface is always de-configured on non NetBSD systems when the carrier drops.
> 
> Roy

Follow-Ups:
Re: TIMEOUT Reason CodeRoy Marples
References:
TIMEOUT Reason CodeDavid Hauck
Re: TIMEOUT Reason CodeRoy Marples
Re: TIMEOUT Reason CodeRoy Marples
RE: TIMEOUT Reason CodeDavid Hauck
Re: TIMEOUT Reason CodeRoy Marples
Archive administrator: postmaster@marples.name