Re: https://bugzilla.redhat.com/show_bug.cgi?id=1155719



On Thu 13 Nov 2014 09:31:24 Chuck Anderson wrote:
On Thu, Nov 13, 2014 at 01:59:20PM +0000, Barry Scott wrote:
Is a change to use monotonic time likely to be accepted into Network
Manager?

It seems that this is required to fix the bug I reported.

I believe the issue is in dhclient, but maybe both dhclient and
NetworkManager.

Where does NetworkManager get this from?

$ nmcli d show eth0
...
DHCP4.OPTION[22]:                       expiry = 1416136701
...

The number is the time in seconds since the epoch of the lease expiry.

How would monotonic time handle suspend/resume?

Good question, I recall that monotonic time freezes while suspended.

Any solution needs to take that problem into account as well as the issue I 
see when wall clock time goes backwards.

This cannot be the first time such a time problem needed to be solved. I 
wonder what the standard pattern is for this?

Barry



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]