Re: [chrony-users] Defaulting to stepping the clock

[ Thread Index | Date Index | More Archives ]

On Mon, Jul 2, 2018 at 2:46 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> That 100.0 is actually a limit for the estimated error in frequency
> and is not related to the offset.

I see that now, sorry. Ignore that bit then.

> The recommended configuration is supposed to minimize the number of
> people complaining that NTP does not work. I agree that for most
> people it would be better to completely disable stepping of the clock.
> But those few that have a computer which for some reason can start
> with system time far from the true time, it would be a big problem.
> They would need to figure out what's going on and use the chronyc
> makestep command to fix it. That's not a good user experience.

I think the real discussion then is the difference between adjustments
at boot time and adjustments at chrony startup time. Chrony startup
time may be early boot when stepping is not a problem but it may also
be after installing it on a running server when things may be
confused. If there was a way to say "only step when starting up at
early boot time when nothing important is running" then maybe that
would be ok.

> I don't see a big difference between servers and desktops/laptops.
> What matters is the RTC. On real HW it needs to be present, have a
> battery, must not drift too much and the local/UTC setting must be
> correct. Similar requirements apply to virtual machines. It needs to
> work with suspend/resume and migrations.

The main difference I see between servers and desktops/laptops is that
servers may actually need to have a good clock of fail reliably.
Whereas desktops/laptops are fine as long as the clock is reasonable
(I'd argue monotonic is important but maybe not even that).

> Even if we could be assume that everything always works as expected,
> someone or something would need to set the RTC for the first time.
> When you bought a new server/desktop/laptop, did it always come with
> the clock correctly set?

Being required to do an adjustment manually doesn't seem like a
problem but thinking about it I've probably relied on Ubuntu running
ntpdate in the past. These days, with interactive installers that
connect to the network having the installer ask if it should step the
clock would probably be ideal.


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+