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
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Linux time goes wrong after changing the time with 'date' cmd
- From: Rob Janssen <chrony-users@xxxxxxxxx>
- Date: Fri, 10 May 2024 09:47:36 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=pe1chl.nl; s=pe1chl; t=1715327257; bh=HlLYgUK1wovByR5UL629K++8V2lz8NdG6O2yM1OUxpo=; h=Date:Subject:To:References:From:In-Reply-To:From; b=D276MH84wEKkVAWuEy0Wk8IQOk0/9wjF75t5R2TpxLIY7m2FN86qtPpYg33E1/ZAF B9QiEF5kiiOyz781N0R5VOnVRlBLNpiOgEwcg/cj1BkFQ5+qXGN16BrqEseMqSDPO+ syU+qgVHa0zfSXvSeJVRorN8dvD+ijhI5huUY2MST2wmI8Z2vE73dbGILIHlkXe5hV 3PshDf/33ALLJmtWBrKuYG7hU6Y1+AZzTovake/BSnw/HMmTu+Ji/e/Gu+iMBMvZYe 0oJuXdhofML0I+gDEyTfpJRuNBM7KVipFfwMRn2cIKVK+afPZd8Gn1z5oDBAC73SA2 7zcHrJTHJFW0w==
- Organization: PE1CHL
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.