On 11.0-BETA4 I have:> grep expires /var/db/ntpd.leap-seconds.list# File expires on: 1 Jun 2017 But I see what you do on 10.3-RELEASE. Looks like the update has not made it into 10 (an I would guess 9). Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman at gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Sun, Aug 7, 2016 at 7:31 PM, Randy Bush <randy at psg.com> wrote:> >> Aug 7 04:13:06 cache0 ntpd[576]: leapsecond file > ('/var/db/ntpd.leap-seconds.list'): expired less than 68 days ago > >> > >> # grep ntp /etc/periodic.conf.local > >> # 480.leapfile-ntpd > >> daily_ntpd_leapfile_enable="YES" > >> daily_ntpd_avoid_congestion="NO" > > > > 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> > > /me is not understanding > > # grep expires /var/db/ntpd.leap-seconds.list > # File expires on: 1 Jun 2016 > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >
> But I see what you do on 10.3-RELEASE. Looks like the update has not > made it into 10 (an I would guess 9).i will be patient. probably wait for 11.1. thanks. randy
On Sun, Aug 07, 2016 at 09:44:55PM -0700, Kevin Oberman wrote:> On 11.0-BETA4 I have: > > grep expires /var/db/ntpd.leap-seconds.list > # File expires on: 1 Jun 2017 > > But I see what you do on 10.3-RELEASE. Looks like the update has not made > it into 10 (an I would guess 9).The flaw is in the internal versioning of files, it does fetch the newer file from IETF and puts it into /var/run/ntpd.leap-seconds.list, but although the expiry is newer, the FreeBSD onboard source version claims to be newer in the 'last update date in NTP timestamp format' line ... FreeBSD 10.3-RELEASE-p7 onboard source is in /etc/ntp/leap-seconds, which gets copied to /var/db/ntpd.leap-seconds.list. The fetch IETF file downloads to /var/run/ntpd.leap-seconds.list . [root at mon ~]# egrep -e Update\|expires\|^'#\$' /etc/ntp/leap-seconds # Last Update of leap second values: 31 Dec 2015 #$ 3660508800 # Updated through IERS Bulletin C 50 # File expires on: 1 Jun 2016 [root at mon ~]# egrep -e Update\|expires\|^'#\$' /var/db/ntpd.leap-seconds.list # Last Update of leap second values: 31 Dec 2015 #$ 3660508800 # Updated through IERS Bulletin C 50 # File expires on: 1 Jun 2016 [root at mon ~]# egrep -e Update\|expires\|^'#\$' /var/run/ntpd.leap-seconds.list # Last Update of leap second values: 5 January 2015 #$ 3629404800 # Updated through IERS Bulletin C51 # File expires on: 28 December 2016 [root at mon ~]# with the end result that the file from /var/run/ never gets moved to /var/db/ . The 480.leapfile-ntpd used by periodic calls the same rc file fetch and comparison. -andreas -- Andreas Ott K6OTT +1.408.431.8727 andreas at naund.org