Neal Pollack wrote:
> On 04/15/09 11:46 PM, Dan Anderson wrote:
>> Part of the problem (or "feature"), as you may know. is that NTP has
>> some sanity checking code and it doesn't adjust for large time
>> offsets. That has to be done manually (or automated with scripts)
>> before the NTPD takes over. This is to prevent weirdness from rogue
>> (or pirate) NTP servers.
>>
>
> Which implies that the Solaris suspend/resume code/framework should take
> this into account.
> But it does not. For example, how hard would it be to add a "feature"
> to the resume code path
> that triggers something to the effect of;
>
> svcadm disable ntp
> ntpdate "well-known-server"
> svcadm enable ntp
Wouldn't it be simpler to have ntpd listen for SIGTHAW, and when it gets
it, just do a single resync-to-server-without-sanity-checks internally?
--
-Alan Coopersmith- alan.coopersmith at sun.com
Sun Microsystems, Inc. - X Window System Engineering