Bug#529624: netbase: networking should not be stopped on reboot or halt
On Thu, May 21, 2009 at 7:11 PM, Marco d'Itri <md@linux.it> wrote:
> Not going to happen: releasing DHCP leases is more important.
This could be done by calling dhclient3 with "-r" parameter somehow,
but it isn't even required by the protocol. Is this an acceptable
workarround for the desktop computers?
Thanks
----------------------------------------
The client normally doesn’t release the current lease as it is not
required by the DHCP protocol. Some cable ISPs require their clients
to notify the server if they wish to release an assigned IP address.
The -r flag explicitly releases the current lease, and once the lease
has been released, the client exits.
If the client is killed by a signal (for example at shutdown or reboot)
it won’t execute the dhclient-script (8) at exit. However if you shut
the client down gracefully with -r or -x it will execute dhclient-
script (8) at shutdown with the specific reason for calling the script
set.
Reply to: