[Git][NTPsec/ntpsec][master] 5 commits: Remove ‘ExecStop’ from the systemd service.
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Dec 2 06:56:51 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
e7946516 by Mike Swanson at 2016-12-02T01:55:42-05:00
Remove ‘ExecStop’ from the systemd service.
Running killall is entirely unnecessary. In the absense of an ExecStop
line, systemd itself will happily send a SIGTERM to all the processes
started by the service. If there are any use-cases that somebody may
run multiple instances of ntpd, this won’t mess those up either.
- - - - -
e84540ec by Sanjeev Gupta at 2016-12-02T01:56:35-05:00
Add a link to IERS, and a little clarification
... and fix two dangling anchors
- - - - -
4f96a6be by Sanjeev Gupta at 2016-12-02T01:56:35-05:00
Fix anchors in access-commands
- - - - -
a431714b by Sanjeev Gupta at 2016-12-02T01:56:35-05:00
Fix anchors in authopt.html
- - - - -
fca87976 by Sanjeev Gupta at 2016-12-02T01:56:35-05:00
All internal references (anchors) clean
sanjeev at X201wily:~/SRC/ntpsec$ ./waf linkcheck
206 anchors, 46 references, 0 references unsatisfied
'linkcheck' finished successfully (0.100s)
- - - - -
11 changed files:
- docs/discipline.txt
- docs/includes/access-commands.txt
- docs/includes/assoc-commands.txt
- docs/includes/auth-commands.txt
- docs/includes/authopt.txt
- docs/includes/clock-options.txt
- docs/includes/clockopt.txt
- docs/includes/mon-commands.txt
- docs/miscopt.txt
- docs/warp.txt
- etc/ntpd.service
Changes:
=====================================
docs/discipline.txt
=====================================
--- a/docs/discipline.txt
+++ b/docs/discipline.txt
@@ -176,7 +176,7 @@ cluster algorithms to refine and validate the initial clock offset
estimate. Normally, this takes several updates before setting the system
clock. As the default minimum poll interval in most configurations is
about one minute, it can take several minutes before setting the system
-clock. The +iburst+ option of the link:confopt.html#burst[+server+]
+clock. The +iburst+ option of the link:assoc.html#burst[+server+]
command changes the behavior at restart and is recommended for
client/server configurations. When this option is enabled, the client
sends a volley of six requests at intervals of two seconds. This usually
=====================================
docs/includes/access-commands.txt
=====================================
--- a/docs/includes/access-commands.txt
+++ b/docs/includes/access-commands.txt
@@ -1,5 +1,6 @@
// Access control commands. Is included twice.
+[[discard]]
+discard+ [+average+ _avg_] [+minimum+ _min_] [+monitor+ _prob_]::
Set the parameters of the +limited+ facility which protects the server
from client abuse. The +average+ subcommand specifies the minimum
@@ -21,6 +22,7 @@
is a performance optimization for servers with aggregate arrivals of
1000 packets per second or more.
+[[restrict]]
+restrict+ _address_ [+mask+ _mask_] [+flag+ +...+]::
The _address_ argument expressed in dotted-quad form is the address of
a host or network. Alternatively, the _address_ argument can be a
=====================================
docs/includes/assoc-commands.txt
=====================================
--- a/docs/includes/assoc-commands.txt
+++ b/docs/includes/assoc-commands.txt
@@ -17,6 +17,7 @@ link-local IPV6 address with an interface specified in
and the mode in which to operate. The _address_ can be either a DNS
name or an IP address in dotted-quad notation.
+[[pool]]
+pool+::
For server addresses, this command mobilizes a persistent client
mode association with a number of remote servers. In this mode the
=====================================
docs/includes/auth-commands.txt
=====================================
--- a/docs/includes/auth-commands.txt
+++ b/docs/includes/auth-commands.txt
@@ -1,5 +1,6 @@
// Authentication commands - included twice
+[[controlkey]]
+controlkey+ _key_::
Specifies the key identifier to use with the
{ntpqman} utility, which uses the standard protocol defined in
@@ -54,6 +55,7 @@
the link _ntpkey_sign_hostname_ in the keys directory. If this file
is not found, the host key is also the sign key.
+[[keys]]
+keys+ _keyfile_::
Specifies the complete path and location of the MD5 key file
containing the keys and key identifiers used by {ntpdman},
@@ -64,6 +66,7 @@
This command specifies the default directory path for cryptographic
keys, parameters and certificates. The default is +/usr/local/etc/+.
+[[trustedkey]]
+trustedkey+ _key..._ ::
Specifies the key identifiers which are trusted for the purposes of
authenticating peers with symmetric key cryptography, as well as keys
=====================================
docs/includes/authopt.txt
=====================================
--- a/docs/includes/authopt.txt
+++ b/docs/includes/authopt.txt
@@ -1,7 +1,6 @@
=== Authentication Commands and Options ===
* link:authopt.html#controlkey[controlkey - specify control key ID]
* link:authopt.html#keys[keys - specify symmetric keys filename]
-* link:authopt.html#requestkey[requestkey - specify request key ID]
* link:authopt.html#trustedkey[trustedkey - specify trusted key IDs]
* link:comdex.html[Command Index]
=====================================
docs/includes/clock-options.txt
=====================================
--- a/docs/includes/clock-options.txt
+++ b/docs/includes/clock-options.txt
@@ -1,9 +1,11 @@
// Options for refclocks. Included twice.
+[[options]]
+refclock+ _drivername_ [+unit+ _u_] [+prefer+] [+subtype+ _int_] [+mode+ _int_] [+minpoll+ _int_] [+maxpoll+ _int_] [+time1+ _sec_] [+time2+ _sec_] [+stratum+ _int_] [+refid+ _string_] [+path+ 'filename'] [+ppspath+ 'filename'] [+baud+ 'number'] [+flag1+ {+0+ | +1+}] [+flag2+ {+0+ | +1+}] [+flag3+ {+0+ | +1+}] [+flag4+ {+0+ | +1+}]::
This command is used to configure reference clocks.
The required _drivername_ argument is the shortname of a driver type
- (e.g. +shm+, +nmea+, +generic+; see the "Reference Clock Drivers"
+ (e.g. +shm+, +nmea+, +generic+;
+ see the link:refclock.html [Reference Clock Drivers]
page for a full list. The options are interpreted as follows:
+unit+;;
=====================================
docs/includes/clockopt.txt
=====================================
--- a/docs/includes/clockopt.txt
+++ b/docs/includes/clockopt.txt
@@ -1,5 +1,5 @@
=== Reference Clock Commands and Options ===
+* link:clockopt.html#addrs[refclock - specify reference clock server]
* link:clockopt.html#options[options - specify clock-driver options]
-* link:clockopt.html#server[server - specify reference clock server]
* link:comdex.html[Command Index]
=====================================
docs/includes/mon-commands.txt
=====================================
--- a/docs/includes/mon-commands.txt
+++ b/docs/includes/mon-commands.txt
@@ -265,6 +265,7 @@ The remaining fields show the values used since the last report.
_filegen_ filename prefix to be modified for file generation sets,
which is useful for handling statistics logs.
+[[filegen]]
+filegen+ _name_ [+file+ _filename_] [+type+ _typename_] [+link+ | +nolink+] [+enable+ | +disable+];;
Configures setting of generation file set name. Generation file sets
provide a means for handling files that are continuously growing
=====================================
docs/miscopt.txt
=====================================
--- a/docs/miscopt.txt
+++ b/docs/miscopt.txt
@@ -22,6 +22,7 @@ include::includes/misc-options.txt[]
// A subset of the tos options is described on the ntp.conf manual page.
// If you change this, be very sure to keep that synchronized.
+[[tos]]
+tos+ [+beacon+ 'beacon' | +ceiling+ 'ceiling' | +cohort+ {+0+ | +1+} | +floor+ 'floor' | +maxclock+ 'maxclock' | +maxdist+ 'maxdist' | +minclock+ 'minclock' | +mindist+ 'mindist' | +minsane+ 'minsane' | +orphan+ 'stratum' | +orphanwait+ 'delay']::
This command alters certain system variables used by the clock
selection and clustering algorithms. The default values of these
@@ -95,6 +96,7 @@ include::includes/misc-options.txt[]
and selectable before using backup sources, and avoids transient use
of the backup sources at startup.
+[[ttl]]
+ttl+ 'hop ...'::
This command specifies a list of TTL values in increasing order. up to
8 values can be specified. In manycast mode these values are used in
=====================================
docs/warp.txt
=====================================
--- a/docs/warp.txt
+++ b/docs/warp.txt
@@ -76,11 +76,11 @@ The UT1 timescale, upon which UTC is based, is determined by the
rotation of the Earth about its axis. The Earth rotation is gradually
slowing down relative to International Atomic Time (TAI). In order to
rationalize UTC with respect to TAI, a leap second is inserted at
-intervals of about 18 months, as determined by the International Earth
-Rotation Service (IERS). Reckoning with leap seconds in the NTP
+intervals, historically averaging about 18 months, as determined by the
+https://www.iers.org/IERS/EN/Home/home_node.html [International Earth
+Rotation Service (IERS)]. Reckoning with leap seconds in the NTP
timescale is described in the white paper
-{millshome}leap.html[The NTP Timescale and Leap
-Seconds].
+{millshome}leap.html[The NTP Timescale and Leap Seconds].
The historic insertions are documented in the +leap-seconds.list+ file,
which can be downloaded from the NIST FTP servers. This file is updated
@@ -132,11 +132,12 @@ server using the _on-wire protocol_ described in the white paper
the NTP On-Wire Protocols]. The protocol is resistant to lost, replayed
or spoofed packets.
-The poll process sends NTP packets at intervals ranging from 1 s to 36
-hr. The intervals are managed as described on the link:poll.html[Poll
-Process] page to maximize accuracy while minimizing network load. The
-peer process receives NTP packets and performs the packet sanity tests
-described on the link:decode.html[Event Messages and Status Words] page
+The poll process sends NTP packets at intervals ranging from 1 s to
+2^17 s (36.4 hr). The intervals are managed as described on the
+link:poll.html[Poll Process] page to maximize accuracy while
+minimizing network load. The peer process receives NTP packets and
+performs the packet sanity tests described on the
+link:decode.html[Event Messages and Status Words] page
and link:decode.html#flash[flash status word]. The flash status word
reports in addition the results of various access control and security
checks described in the white paper
=====================================
etc/ntpd.service
=====================================
--- a/etc/ntpd.service
+++ b/etc/ntpd.service
@@ -7,7 +7,6 @@ Conflicts=systemd-timesyncd.service
Type=forking
PrivateTmp=true
ExecStart=/usr/bin/ntpd -g -u ntp:ntp
-ExecStop=killall /usr/sbin/ntpd
Restart=always
RemainAfterExit=yes
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/2ab0e14adf3106208cf101dc0ef476cdb18685e5...fca87976136f2256c970e950b3d7ffa51dcc849f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161202/4510c150/attachment.html>
More information about the vc
mailing list