dhclient doesn't renew IP address lease after system time changes

Song, Kun Kun.Song at windriver.com
Tue Jul 4 05:24:25 UTC 2023


Hi,

For issue "dhclient doesn't renew IP address lease after system time changes"
dhcp version: 4.4.1
bind version: 9.11

Check relative issue:
https://bugzilla.redhat.com/show_bug.cgi?id=1729211
https://bugzilla.redhat.com/show_bug.cgi?id=1093803
https://bugzilla.redhat.com/show_bug.cgi?id=916116

Patches is dhcp-system_time_changed.patch for dhcp and bind-9.11-rh1732883.patch for bind.
https://git.centos.org/rpms/dhcp/blob/c7/f/SOURCES/dhcp-system_time_changed.patch
There was a discussion in history, redhat has a related fix,
https://lists.isc.org/mailman/htdig/dhcp-users/2014-September/018174.html


I backport patch,patch use monotonic time replace gettimeofday
but dhcpv6 still seems to lose the global address, and there is no merge patch upstream.


backward jump/forward jump

#date

Tue Jun 20 11:04:53 UTC 2023

#date -s "Tue Jun 20 08:04:53 UTC 2023"

Tue Jun 20 08:04:53 UTC 2023

~# ifconfig eth0
eth0 Link encap:Ethernet  HWaddr 58:77:78:80:F0:55
          inet6 addr: fdc0:2001:dd8:10::2/128 Scope:Global
          inet6 addr: fe80::5100:7fff:fe8f:f055/64 Scope:Link
          UP BROADCAST RUNNING  MTU:2000  Metric:1
          RX packets:231 errors:0 dropped:0 overruns:0 frame:0
          TX packets:368 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24290 (23.7 KiB)  TX bytes:253899 (247.9 KiB)


ifconfig eth0
eth0 Link encap:Ethernet  HWaddr 58:77:78:80:F0:55
          inet6 addr: fe80::5100:7fff:fe8f:f055/64 Scope:Link
          UP BROADCAST RUNNING  MTU:2000  Metric:1
          RX packets:298 errors:0 dropped:0 overruns:0 frame:0
          TX packets:506 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:29286 (28.5 KiB)  TX bytes:435628 (425.4 KiB)


Many thanks in advance,
BR/SK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20230704/d0da2a85/attachment.htm>


More information about the dhcp-users mailing list