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. randy
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
On Mon, 8 Aug 2016 11:11+0900, 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.I use: daily_ntpd_leapfile_enable="YES" daily_ntpd_avoid_congestion="YES" You could try updating the leapsecond file manually: service ntpd fetch service ntpd restart -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+