system clock running 2h early although ntpd enabled

Christopher J. Ruwe cjr at cruwe.de
Sat Feb 12 11:07:53 UTC 2011


On Fri, 11 Feb 2011 22:01:06 +0000
RW <rwmaillists at googlemail.com> wrote:

> On Fri, 11 Feb 2011 12:13:43 -0800
> David Brodbeck <gull at gull.us> wrote:
> 
> > On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe <cjr at cruwe.de>
> > wrote:
> > > Since some weeks my local clock runs two hours early.
> > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin
> > > and I have set both ntpd_enable="YES" and
> > > ntpd_sync_on_start="YES".
> > 
> > ntpd has a sanity check -- if the clock is out by more than 1000
> > seconds it will give up.  So you may have to manually set the clock
> > to something close to correct before ntpd will handle it.  Or pass
> > ntpd the "-g" flag to disable the initial sanity check, 
> 
> That's what ntpd_sync_on_start="YES" does.

Which implies that you are booting. In my case, I normally suspend and
resume, so that the ntpd_sync_on_start="YES" does not really help.

Thanks for the clarification anyway, I would not have known that part
otherwise.

Cheers,
-- 
Christopher J. Ruwe
TZ GMT + 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110212/6ba565bb/signature.pgp


More information about the freebsd-questions mailing list