Re: leap-second error in console
- Reply: Bakul Shah : "Re: leap-second error in console"
- In reply to: Warner Losh : "Re: leap-second error in console"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jan 2024 02:39:59 UTC
> On Jan 14, 2024, at 17:45, Warner Losh <imp@bsdimp.com> wrote: > > > > On Sun, Jan 14, 2024 at 5:38 PM void <void@f-m.fm <mailto:void@f-m.fm>> wrote: >> Context is stable/13-n257165-4c4633fdffbe amd64 built >> Mon Jan 15 00:20:52 2024 UTC >> >> In the console, the following is displayed >> >> Security policy loaded: MAC/ntpd (mac_ntpd) >> Starting ntpd. >> Jan 15 00:26:48 cloud ntpd[3412]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 19 days ago >> >> How to fix/does it need fixing? thanks in advance for any assistance > > Add > > ntp_leapfile_sources="https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list" > > to your /etc/rc.conf file. This is the reliable, freely available source for the leap seconds > list. We should make that the default, but doing so has been rough sledding for reasons > that I'm not sure I agree with, but that I at least understand. That didn't work for me. Looking through /etc/rc.d/ntpd, it appears that ntp_db_leapfile="YES" is also required. However, with both of those I still get on ntpd restart (removing comment lines): Jan 14 18:35:43 test ntpd[68230]: ntpd exiting on signal 15 (Terminated) Jan 14 18:35:43 test ntpd[68281]: ntpd 4.2.8p16-a (1): Starting Jan 14 18:35:43 test ntpd[68281]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf -f /var/db/ntp/ntpd.drift -g Jan 14 18:35:43 test ntpd[68282]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Jan 14 18:35:43 test ntpd[68282]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=2023-12-28T00:00:00Z last=2017-01-01T00:00:00Z ofs=37 Jan 14 18:35:43 test ntpd[68282]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 19 days ago -- Doug