Introduction:
In the realm of FreeBSD, a Unix-like operating system based on Berkeley Software Distribution (BSD), managing leap seconds is crucial for maintaining synchronization with the Coordinated Universal Time (UTC). This article aims to guide you through the process of dealing with an expired Leap Seconds File in your FreeBSD environment.
The Issue:
ntpd[655]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired less than xx days ago
Resolution:
Open your /etc/rc.conf file and add the following line to the end:
ntp_leapfile_sources="https://data.iana.org/time-zones/data/leap-seconds.list"
Close the editor and run the following command as root or use sudo:
service ntpd onefetch
Conclusion:
Timely maintenance of the Leap Seconds File is vital for maintaining the integrity and accuracy of your FreeBSD’s timekeeping.
Following this guide ensures that your system remains synchronized with UTC and continues operating efficiently.