Bug 17724

Summary: pump fails to renew lease
Product: [Retired] Red Hat Linux Reporter: Matthew Galgoci <mgalgoci>
Component: pumpAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-08 03:48:05 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 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.