07.01.2017 16:44, Carlos E. R. пишет:
On 2017-01-05 17:06, Per Jessen wrote:
Carlos E. R. wrote:
But my read of the logs disproves this theory. My kernel did know about the leap second, and it was the kernel who informed ntp, not the other way round.
You are misreading the log, Carlos.
The log message is written by ntpd after calling ntp_adjtime(). This call returns a condition or code, and ntpd just logs it, that's all.
The leap seconds are builtin inside the kernel.
Common sense says that simply isn't possible. My 1[123]1.x systems could not possibly know about the most recent leap second, their kernels pre-date the IERS Bulletin C 52 from July 2016 by quite a bit - yet surprisingly, they found out about the leap second.
That's an important point.
Yet the command "date" does know about leap seconds.
No, it does not. Have you tried?
it mentions that in the manual.
It says "*if* system supports leap seconds".