[Pkg-samba-maint] Bug#594088: Bug#594088: samba-common: wins server not added to /etc/samba/dhcp.conf

Christian PERRIER 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
your work...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110129/07caf0aa/attachment.pgp>


More information about the Pkg-samba-maint mailing list