Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233864 - net-misc/dhcpcd-4.0.0_rc4 doesn't renew lease
Summary: net-misc/dhcpcd-4.0.0_rc4 doesn't renew lease
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-04 04:18 UTC by Dmitry Karasik
Modified: 2010-11-30 10:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Karasik 2008-08-04 04:18:15 UTC
It seems that dhcpcd-4.0.0_rc4 only attempts to renew the lease once. This is the log I have:

Jul 30 10:02:54 wsdkarasik2 dhcpcd[1536]: eth0: dhcpcd 4.0.0-rc4 starting
Jul 30 10:02:54 wsdkarasik2 dhcpcd[1536]: eth0: hardware address = 00:0c:76:82:b0:64
Jul 30 10:02:54 wsdkarasik2 dhcpcd[1536]: eth0: DUID = 00:01:00:01:0f:2c:78:b8:00:0c:76:82:b0:64
Jul 30 10:02:54 wsdkarasik2 dhcpcd[1536]: eth0: waiting for carrier
Jul 30 10:02:56 wsdkarasik2 dhcpcd[1536]: eth0: carrier acquired
Jul 30 10:02:56 wsdkarasik2 dhcpcd[1536]: eth0: broadcasting for a lease
Jul 30 10:02:57 wsdkarasik2 dhcpcd[1536]: eth0: offered 9.26.198.85 from 9.26.198.85
Jul 30 10:02:58 wsdkarasik2 dhcpcd[1536]: eth0: acknowledged 9.26.198.85 from 9.26.198.85
Jul 30 10:02:58 wsdkarasik2 dhcpcd[1536]: eth0: checking 9.26.198.85 is available on attached networks
Jul 30 10:03:02 wsdkarasik2 dhcpcd[1536]: eth0: leased 9.26.198.85 for 86400 seconds
Jul 30 10:03:02 wsdkarasik2 dhcpcd[1536]: eth0: no renewal time supplied, assuming 43200 seconds
Jul 30 10:03:02 wsdkarasik2 dhcpcd[1536]: eth0: no rebind time supplied, assuming 75600 seconds


then I see 1 subsequent renewal:

Jul 30 22:03:02 wsdkarasik2 dhcpcd[1633]: eth0: renewing lease of 9.26.198.85
Jul 30 22:03:03 wsdkarasik2 dhcpcd[1633]: eth0: acknowledged 9.26.198.85 from 9.26.198.85
Jul 30 22:03:03 wsdkarasik2 dhcpcd[1633]: eth0: leased 9.26.198.85 for 86400 seconds
Jul 30 22:03:03 wsdkarasik2 dhcpcd[1633]: eth0: no renewal time supplied, assuming 43200 seconds
Jul 30 22:03:03 wsdkarasik2 dhcpcd[1633]: eth0: no rebind time supplied, assuming 75600 seconds


And no more renewals are present. The lease was allowed to expire.
Comment 1 Roy Marples 2008-08-04 09:27:35 UTC
Hi! I recently discovered a possible time wedge with dhcpcd-4 which could be the cause of this. Could you try a snapshot located here?

http://git.marples.name/?p=dhcpcd/.git;a=snapshot;h=22dde524dfbf9d982ee2a615edcde6b96035c3be;sf=tgz
Comment 2 Dmitry Karasik 2008-08-06 13:02:28 UTC
Seems to be working. It has renewed the lease twice since starting yesterday.
Comment 3 Roy Marples 2008-08-15 20:41:45 UTC
Cool. rc5 is now in portage so this bug can be closed :)