Solved Leapseconds file expired

free-and-bsd

Aspiring Daemon

Reaction score: 74
Messages: 684

Well, I don't know about the way it's supposed to work... but my system doesn't seem to update any leap-seconds files. And the fetch command, when run manually, seems to accomplish nothing:
Dec 13 09:18:01 notebook2 ntpd[695]: leapsecond file ('/etc/ntp/leap-seconds'): expired less than 351 days ago
 

tingo

Daemon

Reaction score: 420
Messages: 2,090

Have you updated the certificate port, as described earlier in this thread?
 

free-and-bsd

Aspiring Daemon

Reaction score: 74
Messages: 684

No, waiting for the major upgrade to 12.0 !!! No time for that yet. :)
OK, updated everything now to FreeBSD-12.0-p7. Still didn't work until I added the following to my /etc/rc.conf (according to /etc/defautls/rc.conf):
Code:
ntp_leapfile_sources="https://www.ietf.org/timezones/data/leap-seconds.list"
ntp_leapfile_fetch_opts="-mq"
ntp_leapfile_expiry_days=30
ntp_leapfile_fetch_verbose="YES"
 
Top