Hello,
Le 2023-07-18 à 22 h 35, Laurent Bercot a écrit :
I am setuping s6 for managing services on mine Linux embedded system.
Everything is fine. But I faced issue related to system datetime change.
My system does not have RTC, but it has GNSS module (managed by gpsd).
After GNSS get the location and time chronyd service update system time.
And there's your problem: you cannot rely on timestamp data across
system clock changes, so any service you would need accurate timestamp
data for would need to be started *after* chronyd first updates your
system clock.
This can be even worse than that: the timestamp from a GPS source can
take several tens of seconds to stabilize, depending on the accuracy of
your GPS system and available satellites. Until then, the system date
can jump back and forth around the actual time.
Guillaume.