[Pkg-samba-maint] Bug#594088: Bug#594088: samba-common: wins server not added to /etc/samba/dhcp.conf
bubulle at debian.org
Sat Jan 29 06:59:56 UTC 2011
Quoting Mario 'BitKoenig' Holbe (Mario.Holbe at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: Digital signature
More information about the Pkg-samba-maint