﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
9068	update-leap for ntp does not work	Pierre Labastie	Pierre Labastie	"There are two issues:
- A perl regular expression which does not work with /etc/ntp.conf from the book. The following perl RE is used for extracting the name of the leap-seconds file from /etc/ntp.conf:
{{{
/^ *leapfile\s+""(\S+)""/
}}}
This suppose that the file occurs in a line of the form:
{{{
leapfile ""/path/to/leap/seconds/file""
}}}
with explicit quotes. If, as we advise, the line is of the form:
{{{
leapfile /path/to/leap/seconds/file
}}}
the perl RE does not find the file. In the documentation, nothing says the quotes should be there. And in examples from internet, some have quotes, and some haven't...
- A download site, which is not accessible if some perl modules are not built. For downloading the file, the script uses File::Fetch, which, according to [http://search.cpan.org/~bingos/File-Fetch-0.52/lib/File/Fetch.pm], is not set up for https urls. But the default download site is [https://www.ietf.org/timezones/data/leap-seconds.list], which make the download hang. Another one is given in a comment in the script, but not used: [ftp://time.nist.gov/pub/leap-seconds.list], but this one works, if used in place of the other..."	defect	closed	normal	8.1	BOOK	SVN	medium	fixed		
