Bug 17724 - pump fails to renew lease
Summary: pump fails to renew lease
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: pump
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-19 21:21 UTC by Matthew Galgoci
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-08-08 03:48:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Matthew Galgoci 2000-09-19 21:21:33 UTC
In pump verison 0.8.3-2, if the dhcp lease that is assigned is set to 
1800 seconds, pump fails to renew the lease after the lease expired.

Setting the lease time to 3600 seconds clears the problem up.

If pump is not happy with its lease, it should accept the lease, but 
bitch to syslog with a descriptive reason why (lease time not RFC
compliant!).

--Matt

Comment 1 Olivier Baudron 2000-09-23 21:04:33 UTC
I changed pump.c (line 810) so that I can specify the lease time in seconds. I
tried with different -l values (including 1800s), and each time pump correctly
renewed the lease. I did these tests with pump-0.8.2-1 (rawhide version) and
pump-0.8.3-2 (source downloaded from the ia64 tree).
Would you be a bit more precise so that I can reproduce the bug on my PC?

Comment 2 Elliot Lee 2001-08-08 03:48:00 UTC
Should be easy to fix, will get it tomorrow.

Comment 3 Elliot Lee 2001-08-26 22:15:26 UTC
Tomorrow didn't quite happen as quickly as desired.

I added a -L for Olivier to allow specifying lease time in seconds, but really
pump is deprecated for dhcpcd outside of the installer, so please test against
the latter to see if there are problems.


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