Comment 12 for bug 571933

Revision history for this message
Cody Herriges (ody-cat) wrote : Re: [Bug 571933] Re: dhclient3 hangs on shutdown

On 05/07/2010 10:19 AM, Andrea Ratto wrote:
> It seems that the DHCP server does not reply to DHCPRELEASE so dhclient waits until timeout.
> My DSL modem does the same.
> My workaround is to remove /etc/rc0.d/S35networking and /etc/rc6.d/S35networking, but I would like to know if there is a way to configure dhclient to ignore release requests, without messing with init scripts.
>
> Also on reboots the client should NOT release the address according to
> the protocol, so maybe this is ALSO a bug in the init scripts.
>

The dhcp server in my case is isc-dhcpd and this doesn't happen for any
Jaunty, Solaris, OSX, or Windows machines. Plus this is only on
shutdown. Stopping or restarting the script while the machine is in a
normal running state does what is expected of it and releases the IP.