Re: [chrony-users] New system ntp daemon on macOS 10.13

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


> On 26/07/2017, at 10:37 AM, Bryan Christianson <bryan@xxxxxxxxxxxxx> wrote:
> 
> I was just looking through macOS 10.13, wondering why ntpd was not running. Apple seem to have got rid of it and are now using something called timed.
> I don't know anything at all about it, other than its running (I just enabled it after stopping chronyd) and I think is using the ntpd config files. There is a man page (posted below). It must have been around for a while as it was available in iOS 5.0
> 
> I guess its either NOT making any adjtime() calls and is exclusively using ntp_adjtime(), or alternatively, they have deliberately broken adjtime() in the kernel to match what this timed is expecting. Probably the former rather than the latter I would hope.
> 

I spent some time observing it with tcpdump and hunting through the system logs (a nightmare with Apple's new "improved logging"). It seems to be not much more than an sntp client, making calls to the time server and using settimeofday() to set the clock at 15 minute intervals. Maybe its more sophisticated than that, but its not obvious.


Bryan Christianson
bryan@xxxxxxxxxxxxx




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