答复: [chrony-users] about nts

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


Am I misunderstood the makestep directive? I think makesteps 1 and 3 are modified in the next 3 synchronizations at any time longer than 1 second. It seems that the makestep command is executed only during startup. Makestep 1 -1 is what I understand. Does it synchronize any time more than 1 second? I've just verified it, and it seems that the result is

-----邮件原件-----
发件人: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx] 
发送时间: 2022年11月5日 16:34
收件人: chrony-users@xxxxxxxxxxxxxxxxxxxx
主题: Re: [chrony-users] about nts

On Fri, Nov 04, 2022 at 10:34:55AM +0000, chengyechun wrote:
> The certificate is correct. The chronyc sources -a -v command indicates that the synchronization is successful. However, if you run the date command to change the server time, for example, date -s 18:56:23, the synchronization is successful. However, the time on the client and server is different when you run the date command. For example, the UTC, localtime, and RTC time on the system are not changed. However, after the chronyd is restarted, the modification can be made again.

Did you set the clock after chronyd was started? Your makestep directive allows a step only in the first three updates of the clock.
Try "makestep 1 -1".

--
Miroslav Lichvar


-- 
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/