Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2024 05:16:34 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ded562d4af9c - stable/14 - leapseconds: Update to the canonical place.
Message-ID:  <202402080516.4185GYYU079272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=ded562d4af9c1a7c6ea48271cbf07a81d7e031c4

commit ded562d4af9c1a7c6ea48271cbf07a81d7e031c4
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-06 23:11:38 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-08 05:14:35 +0000

    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
    Differential Revision:  https://reviews.freebsd.org/D43752
    
    (cherry picked from commit 11da791920ba285f0832f09cb504ac81e35ff8d1)
---
 libexec/rc/rc.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index c92bb0135f4d..f31efb4e2052 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -421,8 +421,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402080516.4185GYYU079272>