Re: git: b1c95af45488 - main - rc.conf: correct $ntp_leapfile_sources

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 07 Dec 2023 06:26:05 UTC
We should point to bipm
https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list since they are
the source of truth, no?

Warner

On Wed, Dec 6, 2023, 10:50 PM Philip Paeps <philip@freebsd.org> wrote:

> The branch main has been updated by philip:
>
> URL:
> https://cgit.FreeBSD.org/src/commit/?id=b1c95af45488bef649e9a84890e2414ff80b3a00
>
> commit b1c95af45488bef649e9a84890e2414ff80b3a00
> Author:     Philip Paeps <philip@FreeBSD.org>
> AuthorDate: 2023-12-07 05:48:13 +0000
> Commit:     Philip Paeps <philip@FreeBSD.org>
> CommitDate: 2023-12-07 05:48:13 +0000
>
>     rc.conf: correct $ntp_leapfile_sources
>
>     IETF is no longer serving leap-seconds.list.  Point at IANA instead.
>
>     This fixes "service ntpd fetch".
>
>     MFC after:      1 day
> ---
>  libexec/rc/rc.conf | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
> index 3269288728b6..145e0b70ca3b 100644
> --- a/libexec/rc/rc.conf
> +++ b/libexec/rc/rc.conf
> @@ -424,7 +424,7 @@ 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://www.ietf.org/timezones/data/leap-seconds.list"
> +ntp_leapfile_sources="
> https://data.iana.org/time-zones/tzdb/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
>