File: use-var-lib-ntpsec-for-driftfile.patch

package info (click to toggle)
ntpsec 1.2.3%2Bdfsg1-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,960 kB
  • sloc: ansic: 62,004; python: 32,017; sh: 1,553; yacc: 1,293; makefile: 190; javascript: 138
file content (38 lines) | stat: -rw-r--r-- 1,309 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Use /var/lib/ntpsec for driftfile
 This is the path used in the ntpsec packaging, to stay out of the namespace
 of the ntp package.
Forwarded: not-needed
Origin: vendor
Author: Richard Laager <rlaager@debian.org>
Last-Update: 2020-08-12
--- a/docs/includes/ntpd-body.adoc
+++ b/docs/includes/ntpd-body.adoc
@@ -84,7 +84,7 @@
 +-f+ _string_, +--driftfile+=_string_::
   frequency drift file name.
 +
-The name and path of the frequency file, e.g. +/etc/ntp.drift+.
+The name and path of the frequency file, e.g. +/var/lib/ntpsec/ntp.drift+.
 This is the same operation as the _driftfile_
 configuration specification in the +{ntpconfpath}+ file.
 
--- a/docs/quick.adoc
+++ b/docs/quick.adoc
@@ -73,7 +73,7 @@
 The simplest, minimal logging configuration consists of a line like this:
 
 ------------------------------------------------------------------
-driftfile /var/lib/ntp/ntp.drift
+driftfile /var/lib/ntpsec/ntp.drift
 ------------------------------------------------------------------
 
 This sets up a drift file, which is used to store a measurement of
@@ -84,7 +84,7 @@
 You might see something more like this:
 
 ------------------------------------------------------------------
-driftfile /var/lib/ntp/ntp.drift
+driftfile /var/lib/ntpsec/ntp.drift
 
 statsdir /var/log/ntpstats/