Date: Sun, 14 Jan 2024 18:39:59 -0800 From: Doug Hardie <bc979@lafn.org> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-stable@freebsd.org Subject: Re: leap-second error in console Message-ID: <25259A6D-8418-4C77-A845-B7298A9AF667@sermon-archive.info> In-Reply-To: <CANCZdfpnqSNVBiEZikDRKcUzuUPYiWq4fjSXbsN4TU20ACgscQ@mail.gmail.com> References: <80396a3d-94e6-4439-89de-ea684ee1907e@app.fastmail.com> <CANCZdfpnqSNVBiEZikDRKcUzuUPYiWq4fjSXbsN4TU20ACgscQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_EBB2D116-E0EF-4D02-9132-85051EB0D37B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 14, 2024, at 17:45, Warner Losh <imp@bsdimp.com> wrote: >=20 >=20 >=20 > On Sun, Jan 14, 2024 at 5:38=E2=80=AFPM void <void@f-m.fm = <mailto:void@f-m.fm>> wrote: >> Context is stable/13-n257165-4c4633fdffbe amd64 built=20 >> Mon Jan 15 00:20:52 2024 UTC >>=20 >> In the console, the following is displayed >>=20 >> 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 >>=20 >> How to fix/does it need fixing? thanks in advance for any assistance >=20 > Add >=20 > = ntp_leapfile_sources=3D"https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-sec= onds.list" >=20 > 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=20 ntp_db_leapfile=3D"YES" is also required. However, with both of those I still get on ntpd = restart (removing comment lines):=20 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=3D2023-12-28T00:00:00Z = last=3D2017-01-01T00:00:00Z ofs=3D37 Jan 14 18:35:43 test ntpd[68282]: leapsecond file = ('/var/db/ntpd.leap-seconds.list'): expired 19 days ago -- Doug= --Apple-Mail=_EBB2D116-E0EF-4D02-9132-85051EB0D37B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: = after-white-space;"><div><blockquote type=3D"cite"><div>On Jan 14, 2024, = at 17:45, Warner Losh <imp@bsdimp.com> wrote:</div><br = class=3D"Apple-interchange-newline"><div><div dir=3D"ltr"><div = dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Sun, Jan 14, 2024 at 5:38=E2=80=AFPM void <<a = href=3D"mailto:void@f-m.fm">void@f-m.fm</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex">Context is = stable/13-n257165-4c4633fdffbe amd64 built <br> Mon Jan 15 00:20:52 2024 UTC<br> <br> In the console, the following is displayed<br> <br> Security policy loaded: MAC/ntpd (mac_ntpd)<br> Starting ntpd.<br> Jan 15 00:26:48 cloud ntpd[3412]: leapsecond file = ('/var/db/ntpd.leap-seconds.list'): expired 19 days ago<br> <br> How to fix/does it need fixing? thanks in advance for any = assistance<br></blockquote><div><br></div><div>Add</div><div><br></div><di= v>ntp_leapfile_sources=3D"<a = href=3D"https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list">https= ://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list</a>"</div><div><br>= </div><div>to your /etc/rc.conf file. This is the reliable, freely = available source for the leap seconds</div><div>list. We should make = that the default, but doing so has been rough sledding for = reasons</div><div>that I'm not sure I agree with, but that I at least = understand.</div></div></div></div></blockquote><br></div><div>That = didn't work for me. Looking through /etc/rc.d/ntpd, it appears = that </div><div><span class=3D"Apple-tab-span" = style=3D"white-space:pre"> </span>ntp_db_leapfile=3D"YES"</div>is = also required. However, with both of those I still get on ntpd = restart (removing comment = lines): <div><br><div><br></div><div><br></div><div><br></div><div><d= iv>Jan 14 18:35:43 test ntpd[68230]: ntpd exiting on signal 15 = (Terminated)</div><div>Jan 14 18:35:43 test ntpd[68281]: ntpd 4.2.8p16-a = (1): Starting</div><div>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</div><div>Jan 14 18:35:43 test ntpd[68282]: = leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash = signature</div><div>Jan 14 18:35:43 test ntpd[68282]: leapsecond file = ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2023-12-28T00:00:00Z = last=3D2017-01-01T00:00:00Z ofs=3D37</div><div>Jan 14 18:35:43 test = ntpd[68282]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired = 19 days ago</div><div><br></div></div>-- Doug</div></body></html>= --Apple-Mail=_EBB2D116-E0EF-4D02-9132-85051EB0D37B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25259A6D-8418-4C77-A845-B7298A9AF667>