leapsecond file

Michael Butler
Mon, 08 Aug 2016 02:25:25 -0000

On 08/07/16 22:11, Randy Bush wrote:
> i get these on all fbsd 10.3 hosts
>
> Aug  7 04:13:06 cache0 ntpd[576]: leapsecond file
('/var/db/ntpd.leap-seconds.list'): expired less than 68 days ago
>
> i have
>
> # grep ntp /etc/periodic.conf.local
> # 480.leapfile-ntpd
> daily_ntpd_leapfile_enable="YES"
> daily_ntpd_avoid_congestion="NO"
>
> consulting the net of a thousand lies did not bring enlightenment.
> maybe someone here has a clue bat?  thanks.

"Broken" as designed :-(

For whatever reason, /etc/periodic/daily/480.leapfile-ntpd enters the
check phase on every invocation (daily), sleeps some random time less
than one day (if "avoid_congestion" true) and then decides that the
file
is too young to replace (the current file expires June 1st, 2017). Logs
that to syslog .. rinse and repeat .. every day .. <sigh>

	imb