Date: Sun, 06 Mar 2022 23:17:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262391] ntp.conf contains wrong information regarding leapfile Message-ID: <bug-262391-227-am5NARMBiX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-262391-227@https.bugs.freebsd.org/bugzilla/> References: <bug-262391-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262391 --- Comment #1 from Dennis Clarke <dclarke@blastwave.org> --- Further details. If we mrely use the leap seconds file provided by the base install then we get the message :=20 Mar 6 22:54:22 europa ntpd[1194]: ntpd 4.2.8p15-a (1): Starting Mar 6 22:54:22 europa ntpd[1194]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf Mar 6 22:54:22 europa ntpd[1194]: ---------------------------------------------------- Mar 6 22:54:22 europa ntpd[1194]: ntp-4 is maintained by Network Time Foundation, Mar 6 22:54:22 europa ntpd[1194]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Mar 6 22:54:22 europa ntpd[1194]: corporation. Support and training for n= tp-4 are Mar 6 22:54:22 europa ntpd[1194]: available at https://www.nwtime.org/supp= ort Mar 6 22:54:22 europa ntpd[1194]: ---------------------------------------------------- Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2021-06-28T00:00:00Z last=3D2017-01-01T00:00:00Z ofs=3D37 Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 252 days ago It is trivial to replace the file with the correct revision.=20 europa#=20 europa# fetch https://www.ietf.org/timezones/data/leap-seconds.list=20 fetch: https://www.ietf.org/timezones/data/leap-seconds.list: size of remote file is not known leap-seconds.list 10 kB 3151 kBps = 00s europa#=20 europa#=20 europa# /etc/rc.d/ntpd stop=20 Stopping ntpd. Waiting for PIDS: 1195. europa#=20 europa# cp -p leap-seconds.list /var/db/ntpd.leap-seconds.list europa#=20 europa# /etc/rc.d/ntpd start Starting ntpd. europa#=20 At which point we see the message :=20 Mar 6 23:14:11 europa ntpd[1266]: ntpd 4.2.8p15-a (1): Starting Mar 6 23:14:11 europa ntpd[1266]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf Mar 6 23:14:11 europa ntpd[1266]: ---------------------------------------------------- Mar 6 23:14:11 europa ntpd[1266]: ntp-4 is maintained by Network Time Foundation, Mar 6 23:14:11 europa ntpd[1266]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Mar 6 23:14:11 europa ntpd[1266]: corporation. Support and training for n= tp-4 are Mar 6 23:14:11 europa ntpd[1266]: available at https://www.nwtime.org/supp= ort Mar 6 23:14:11 europa ntpd[1266]: ---------------------------------------------------- Mar 6 23:14:11 europa ntpd[1267]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Mar 6 23:14:11 europa ntpd[1267]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2022-06-28T00:00:00Z last=3D2017-01-01T00:00:00Z ofs=3D37 Works as promised ... near as anyone can tell. Dennis Clarke --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262391-227-am5NARMBiX>