Ever since I upgraded to dhcpcd-4.0.0_beta7 it has been letting the IP lease expire without renewing it, which causes services to stop working as my host name is unregistered from the DNS server. In previous versions I would see entries in the log similar to the following every day: Jun 10 20:18:44 wsdkarasik2 dhcpcd[1630]: eth0: renewing lease of x.x.198.85 Jun 10 20:18:44 wsdkarasik2 dhcpcd[1630]: eth0: leased x.x.198.85 for 86400 seconds Jun 10 20:18:44 wsdkarasik2 dhcpcd[1630]: eth0: no renewal time supplied, assuming 43200 seconds Jun 10 20:18:44 wsdkarasik2 dhcpcd[1630]: eth0: no rebind time supplied, assuming 75600 seconds However with 4.0.0_beta7 I see a startup message: Jun 20 09:22:10 wsdkarasik2 dhcpcd[32414]: eth0: dhcpcd 4.0.0-beta7 starting Jun 20 09:22:10 wsdkarasik2 dhcpcd[32414]: eth0: hardware address = 00:0c:76:82:b0:64 Jun 20 09:22:10 wsdkarasik2 dhcpcd[32414]: eth0: DUID = 00:01:00:01:0f:2c:78:b8:00:0c:76:82:b0:64 Jun 20 09:22:10 wsdkarasik2 dhcpcd[32414]: eth0: broadcasting for a lease Jun 20 09:22:15 wsdkarasik2 dhcpcd[32414]: eth0: offered x.x.198.85 from x.x.196.37 Jun 20 09:22:15 wsdkarasik2 dhcpcd[32414]: eth0: lease of x.x.198.85 acknowledged Jun 20 09:22:19 wsdkarasik2 dhcpcd[32414]: eth0: leased x.x.198.85 for 86400 seconds Jun 20 09:22:19 wsdkarasik2 dhcpcd[32414]: eth0: no renewal time supplied, assuming 43200 seconds Jun 20 09:22:19 wsdkarasik2 dhcpcd[32414]: eth0: no rebind time supplied, assuming 75600 seconds No subsequent renewal messages are logged.
I think I already have this fixed. Could you test this snapshot please? http://roy.marples.name/dhcpcd/dhcpcd-4.0.0-beta7-200807041012.tar.bz2 You can force a renew like so dhcpcd -n eth0
beta8 is now out, where this should be fixed :)
Created attachment 159709 [details] output of dhcpcd -dd eth0 directed to a file. $desc
(In reply to comment #3) > Created an attachment (id=159709) [edit] > output of dhcpcd -dd eth0 directed to a file. > > $desc > beta7 still, need to try beta8..
If you can get a packet capture to match the log, that would be useful
beta8 fixes the problem for me.
beta8 fixes the problem for me also
Comments indicate beta8 fixes this issue, Closing at maintainers request.