Quoting Mario 'BitKoenig' Holbe (mario.ho...@tu-ilmenau.de):

> This bug shows up if the lease is RELEASEd AND is still valid upon ifup.
> If the lease is not valid upon ifup, dhclient enters the BOUND state
> with empty old_* variables: everyting works well in the samba hook.
> If the lease is still valid upon ifup and not RELEASEd, dhclient
> re-requests it and enters the somewhat special REBOOT state where it
> clears the old_* variables: everyting works well in the samba hook.
> Unfortunately, Debian's ifdown initiates an DHCPRELEASE. Hence, if the
> lease is still valid upon ifup it gets offered to dhclient again and it
> enters the BOUND state with filled old_* variables.
> 
> 
> The attached patch fixes this issue at least for the empty dhcp.conf
> case. It does not fix more complex scenarios where information of
> multiple DHCP servers is merged into one dhcp.conf. Hence, the patch
> should be considered intermediate - to get it into squeeze, for example.

It's unfortuunately too late for this, sorry.

I'll probably consider this for post-squeeze and will look more
closely to this bug report, then eventually add your patch. Thanks for
your work...


Attachment: signature.asc
Description: Digital signature

Reply via email to