Leif Pedersen <bi...@hobbiton.org> writes:
> Is there a reasonable way to enable awareness of leap-seconds while
> syncing with ntpd? That is to say, how can I get the system to include
> leap-seconds in calculating `date +%s`, without having `date` be off
> by 26[1] seconds?

No.  POSIX deals with leap seconds by pretending they don't exist.

> I tried setting /etc/localtime to UTC including leap-seconds [...]
> However, ntpd continues to sync the clock (from pool.ntp.org) in
> ignorance of leap-seconds. [...] Can ntpd undo the leap-seconds
> inserted by ntp.org? Or is there another NTP pool that would work for
> me?

NTP works in UTC as well.  The pool does not set the clock; all it does
is coordinate servers who claim to know the correct time.  I guess you
could try to convince the ISC and JHU to add a TAI offset field to the
next version of the NTP protocol...

DES
-- 
Dag-Erling Smørgrav - d...@des.no
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

Reply via email to