Re: [chrony-users] New system ntp daemon on macOS 10.13 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] New system ntp daemon on macOS 10.13
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Wed, 26 Jul 2017 12:39:32 +1200
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Message-Id:To:Date: Subject:From:Reply-To:Sender:List-Unsubscribe; bh=UYXB1uMGCFfRsqlGtJF22svkpYban0AND9bzlWe2vrU=; b=yqN3Uo6XJ2gKRIOGvd/F6Z3HmL BQUp5hWk+1Z4XAburMnlhR0MBXt5cT+2n2Tcxpuolaae5bdThdLPhNPs6rAoR73hTo5AVqjqXmh2m PkjGKmTJBxZbRMHnunaiPDh5aDfmWo3+0MrHmfxCmsmVT3zr/AYhMBgQOW8RFjh6j1XfyllXesc3I 8D8b6fAjtZgNJg5FJsZWn7jiUswvvwW9ATJO6GqQNGHMW/2FYLwBdjYtDOOneXVX4215JU7Y1jIxI 7zz/hujbB/Du63XeNGeoxKKtukHQ57ZiD1kQt9F1ra7w8ierFWKNvdyc3/+226gaBm8FGu5xDxcRq cXDnrSSQ==;
- Feedback-id: 149811m:149811acx33YQ:149811sxVP8xn3sJ:SMTPCORP
> 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.