Bug 53406 - Uses always the first received lease-time
Uses always the first received lease-time
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: dhcpcd (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-09-07 20:25 EDT by Enrico Scholz
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-06-28 13:00:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2001-09-07 20:25:25 EDT
When the lease-time gets changed on the DHCP-server, dhcpcd ignores these
changes and uses the first lease-time always:


1. configure server to send lease-time of 86400s
2. start dhcpcd (-->will renew in 43200s)
3. reconfigure server to lease-time of 10800s (3h)
4. strace -p `pidof dhcpcd` # (leads to a renew)
   | alarm(43200)                            = 75595

   --> uses still 43200 seconds

   (sniffing the traffic shows that dhcp-option 51 is set to 3h)


This is a nasty bug when used with dynamic DNS updates. Then the host loses
its A and PTR records for some hours, because server deletes them after 3h
but the clients renews them after 12h.
Comment 1 Elliot Lee 2002-01-04 13:29:36 EST
Hi,
Please test against the dhcpcd-1.3.21pl1 in rawhide, and see if this problem
still occurs.
Comment 2 Enrico Scholz 2002-01-23 08:39:51 EST
Problem still exists...
Comment 3 Elliot Lee 2002-04-15 12:18:57 EDT
After you changed the lease time on the server, did you have dhcpcd renew the
lease? Just a glaring omission that seemed rather obvious.

There should be a new dhcpcd in rawhide soon that might be worth trying out if
the renewal still uses the old lease time.


Note You need to log in before you can comment on or make changes to this bug.