[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: services: ntp: Allow large adjustment by default.
From: |
guix-commits |
Subject: |
01/08: services: ntp: Allow large adjustment by default. |
Date: |
Sun, 8 Sep 2019 10:17:03 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 08b4a10fa6bc535cd99d65f0233dd027153878eb
Author: Maxim Cournoyer <address@hidden>
Date: Tue Sep 3 00:42:24 2019 +0900
services: ntp: Allow large adjustment by default.
This is documented as best practice in `man ntpd', and is required to allow
the date to be set correctly when traveling (without having to manually
update
the hardware clock in the BIOS/UEFI).
* gnu/services/networking.scm (<ntp-server>)[allow-large-adjustment?]: Set
the
default value to #t.
* doc/guix.texi (Networking Services): Update documentation.
---
doc/guix.texi | 2 +-
gnu/services/networking.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 51429d8..fdfcdde 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -13050,7 +13050,7 @@ This is the data type for the NTP service configuration.
This is the list of servers (host names) with which @command{ntpd} will be
synchronized.
-@item @code{allow-large-adjustment?} (default: @code{#f})
+@item @code{allow-large-adjustment?} (default: @code{#t})
This determines whether @command{ntpd} is allowed to make an initial
adjustment of more than 1,000 seconds.
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 376b4cc..e149fe0 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -315,7 +315,7 @@ Protocol (DHCP) client, on all the non-loopback network
interfaces."
(servers ntp-configuration-servers
(default %ntp-servers))
(allow-large-adjustment? ntp-allow-large-adjustment?
- (default #f)))
+ (default #t))) ;as recommended in the ntpd manual
(define ntp-shepherd-service
(match-lambda
- branch master updated (861b9a3 -> ccdfae3), guix-commits, 2019/09/08
- 01/08: services: ntp: Allow large adjustment by default.,
guix-commits <=
- 02/08: services: ntp: Fix KOD warning., guix-commits, 2019/09/08
- 08/08: services: openntpd: Fix the config generation code., guix-commits, 2019/09/08
- 03/08: doc: Add index to find 'ntpd'., guix-commits, 2019/09/08
- 06/08: services: openntpd: Remove useless let., guix-commits, 2019/09/08
- 04/08: services: ntp: Support different NTP server types and options., guix-commits, 2019/09/08
- 07/08: services: openntpd: Add test for issue #3731., guix-commits, 2019/09/08
- 05/08: gnu: openntpd: Fix error CA errors when using constraints., guix-commits, 2019/09/08