Bug 88555

Summary: BAD: ****DHCLIENT***** RH8.0,9.0 Default Versions, DOES NOT RELEASE IPs UPON SHUTDOWN!
Product: [Retired] Red Hat Linux Reporter: Jusitn Davis <justindd>
Component: dhcpAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-11 19:32:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jusitn Davis 2003-04-10 20:54:40 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
The DHCP package is not used in RH8.0,9.0, and the DHCLIENT package which is
being used in its place does not send releases when the system is shutdown.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Boot Up

Actual Results:  Messes up DNS Servers which use DHCP info to register
information to the IP.  IP was never released.

Expected Results:  The IP should ALWAYS be released on a shutdown....DUH!!!!

Additional info:

Comment 1 Daniel Walsh 2003-04-11 14:48:33 UTC
*** Bug 88556 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2003-04-11 19:32:54 UTC
From the Man page:

 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.

so running 
/sbin/dhclient -r -lf /var/lib/dhcp/dhclient-eth0.leases -pf

should release the eth0 device.