Bug 147469

Summary: ifdown does not send release to dhcp server (just kills the dhclient PID)
Product: [Fedora] Fedora Reporter: Eivind Arnesen <eivind.arnesen>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: FC4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-03 20:51:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eivind Arnesen 2005-02-08 11:50:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041111 Firefox/1.0

Description of problem:
Can't understand the principle behind killing of the dhclient without
informing the dhcp server that the lease is being released. We're
using ddns, and right now expired leases does not seem to update our DNS.
If the clients send release (dhclient -r) to the DHCP server,
the DNS records are being updates. If this is not a bug, it would be
nice if someone could explain the rationale behind this. 



Version-Release number of selected component (if applicable):
dhclient-3.0.1-30_FC3 initscripts-7.93.5-1

How reproducible:
Always

Steps to Reproduce:
When starting/stopping network services

    

Additional info:

can easily be solved by fixing ifdown script to do;
dhclient -r ${DEVICE}

Comment 1 Jason Vas Dias 2005-02-08 15:18:48 UTC
The DHCPRELEASE option was added to ifdown in initscripts-7.93.5-1 .
For the interface $IF on which you want releases to be sent, add
the line:
"
   DHCPRELEASE=yes
"
to /etc/sysconfig/network-scripts/ifcfg-$IF .
Sending a dhcp release is an optional part of the DHCP protocol, and
it is up to administrators to choose which policy to implement .
 

Comment 2 Jason Vas Dias 2005-02-11 00:38:43 UTC
Whoops ! I'm very sorry - it seems the feature did not get into 
initscripts-7.93.5-1 .  Support for it is in dhcp-3.0.1-30_FC3, 
though. I'll do what I can to get initscripts upgraded in FC3 
ASAP . 

Comment 4 Bill Nottingham 2005-10-03 20:51:34 UTC
Closing this; this is fixed in current releases.