aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-02-06 23:11:38 +0000
committerColin Percival <cperciva@FreeBSD.org>2024-02-14 21:10:34 +0000
commitd19b59cfe594a878d3f073d6c31ded672c6591a4 (patch)
tree6de6bea5162b0c9d84e00e2f72148cb84712b01b
parent1ee910875cd00c6f86f3f64dbc1686ec6d52ab11 (diff)
downloadsrc-d19b59cfe594.tar.gz
src-d19b59cfe594.zip
leapseconds: Update to the canonical place.
IERS is the source of truth for leap seconds. Their leapsecond file is updated most quickly and is always right (unlike the IANA one which often lags). IERS operates this public service for the express purpose of random people downloading it. Their terms of service are compatible with open source (we could include this in our release). Rather than fighting with questions around this because the IANA one changed locations or the auto update script broken, just use this. This is in preference to the NIST ftp copy. NIST is in the process of retiring their FTP services. Sponsored by: Netflix Reviewed by: philip, delphij, cy Approved by: re (cperciva) Differential Revision: https://reviews.freebsd.org/D43752 (cherry picked from commit 11da791920ba285f0832f09cb504ac81e35ff8d1) (cherry picked from commit 0eea8292ae8c8e9119520ce54aa82cae491d83b9)
-rw-r--r--libexec/rc/rc.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index 165f0a3ab562..824751078833 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -418,8 +418,8 @@ ntpd_flags="" # Additional flags to ntpd
ntp_src_leapfile="/etc/ntp/leap-seconds"
# Initial source for ntpd leapfile
ntp_db_leapfile="/var/db/ntpd.leap-seconds.list"
- # Working copy (updated weekly) leapfile
-ntp_leapfile_sources="https://data.iana.org/time-zones/tzdb/leap-seconds.list"
+ # Canonical place to get the leap seconds from
+ntp_leapfile_sources="https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list"
# Source from which to fetch leapfile
ntp_leapfile_fetch_opts="-mq" # Options to use for ntp leapfile fetch,
# e.g. --no-verify-peer