Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. dhclient doesn't renew IP address lease after system time
      changes (Song, Kun)


----------------------------------------------------------------------

Message: 1
Date: Tue, 4 Jul 2023 05:24:25 +0000
From: "Song, Kun" <kun.s...@windriver.com>
To: "dhcp-users@lists.isc.org" <dhcp-users@lists.isc.org>
Subject: dhclient doesn't renew IP address lease after system time
        changes
Message-ID:
        
<ph0pr11mb51447e7be580794db922260e90...@ph0pr11mb5144.namprd11.prod.outlook.com>
        
Content-Type: text/plain; charset="us-ascii"

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-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
ISC funds the development of this software with paid support subscriptions. 
Contact us at https://www.isc.org/contact/ for more information.

dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


------------------------------

End of dhcp-users Digest, Vol 176, Issue 4
******************************************

Reply via email to