From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 1/1] services: ntpd: Make large clock adjustments if necessary.
Date: Wed, 12 Oct 2016 19:21:07 -0400 [thread overview]
Message-ID: <f1eb5f6a5c5b2609c46881095ae5faf0c2453eba.1476314459.git.leo@famulari.name> (raw)
If the system clock is more than 1000 seconds off, ntpd will exit without
adjusting the clock.
Reported by reepca on #guix.
* gnu/services/networking.scm (ntp-shepherd-service): Pass '-g' when
starting the NTP daemon.
---
gnu/services/networking.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 7495179..5261e38 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -296,7 +296,7 @@ restrict -6 ::1\n"))
(requirement '(user-processes networking))
(start #~(make-forkexec-constructor
(list (string-append #$ntp "/bin/ntpd") "-n"
- "-c" #$ntpd.conf "-u" "ntpd")))
+ "-c" #$ntpd.conf "-u" "ntpd" "-g")))
(stop #~(make-kill-destructor))))))))
(define %ntp-accounts
--
2.10.1
next reply other threads:[~2016-10-12 23:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-12 23:21 Leo Famulari [this message]
2016-10-13 5:06 ` [PATCH 1/1] services: ntpd: Make large clock adjustments if necessary John Darrington
2016-10-13 14:12 ` Leo Famulari
2016-10-19 20:49 ` Ludovic Courtès
2016-10-19 21:39 ` Leo Famulari
2016-10-20 19:44 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f1eb5f6a5c5b2609c46881095ae5faf0c2453eba.1476314459.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.