Re: [chrony-users] Linux time goes wrong after changing the time with 'date' cmd

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


On 2024-05-10 03:43, Feng Tang wrote:
> Add debug hooks in kernel shows, after 'date' command changes system time,
> around 150 seconds later, the chronyd process send 'clock_adjtime' syscalls
> down to kernel with txc mode 'ADJ_TICK | ADJ_FREQUENCY', then the time
> starts to go wrong.
That is not "wrong", that is "right".
Chrony speeds up the clock so it will gradually go back to the correct time,
after you changed it to the wrong time.

command: " date --set '04/24 15:23:10 2024' "

DON'T DO THAT!!!
You have synchronized the clock using chrony, DON'T touch it manually!

Rob


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/