Opened 16 months ago
Closed 16 months ago
#18738 closed enhancement (fixed)
update-leap (ntp) no longer works
Reported by: | thomas | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | elevated | Milestone: | 12.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
update-leap refers to https://www.ietf.org/timezones/data/leap-seconds.list but that file no longer exists. If you go there via browser, the answer is
ietf.org is no longer serving this file.
Alternative might be https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
I'm pretty sure we'll get a new ntp-release next time, should we wait/ignore or patch update-leap
, a perl script exchanging
my $LEAPSRC = 'https://www.ietf.org/timezones/data/leap-seconds.list';
by
my $LEAPSRC = 'https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list';
Change History (4)
comment:1 by , 16 months ago
comment:2 by , 16 months ago
Try:
sed -e '/my $LEAPSRC/s:www.*data:hpiers.obspm.fr/iers/bul/bulc/ntp:' \ -i scripts/update-leap/update-leap
but that just solves the hang problem since the last entry is
3692217600 37 # 1 Jan 2017
comment:3 by , 16 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 16 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Removed most references to the deprecated update-leap script. Added a note about the issue.
Fixed at commit a99fd228.
Note:
See TracTickets
for help on using tickets.
From Wikipedia: https://en.wikipedia.org/wiki/Leap_second
"...in November 2022, at the 27th General Conference on Weights and Measures, it was decided to abandon the leap second by or before 2035."
Evidently there have been no leap seconds since 2016. Perhaps we should just wait for the next ntp release.