From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#37318: OpenNTPD generated config is convoluted Date: Tue, 03 Sep 2019 13:47:06 +0900 Message-ID: <87lfv6vved.fsf_-_@gmail.com> References: <87r24yvw0p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40670) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i64qx-0002ro-KV for bug-guix@gnu.org; Thu, 05 Sep 2019 23:24:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i64qw-0000zg-0x for bug-guix@gnu.org; Thu, 05 Sep 2019 23:24:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i64qv-0000z3-Qf for bug-guix@gnu.org; Thu, 05 Sep 2019 23:24:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i64qv-0006Pb-Kt for bug-guix@gnu.org; Thu, 05 Sep 2019 23:24:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (GNU bug Tracking System's message of "Fri, 06 Sep 2019 03:11:02 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 37318@debbugs.gnu.org I also can't seem to make it sync, see my test below. Tests: # Set the date to somewhere in the past sudo date -s 'Tue Sep 3 12:00:00 JST 2019' # Set the hwclock to the same wrong date sudo hwclock --systohc Then I launched (open)ntpd manually in verbose mode: sudo /gnu/store/j4abi03pc4b0gfs2mlbzyd6g9bjqphyc-openntpd-6.2p3/sbin/ntpd -f /gnu/store/v2cqcxliivrcn1rlz78p6mg21k7pxyrx-ntpd.conf -d -s -v adjtimex returns frequency of 27.512100ppm listening on 127.0.0.1 listening on ::1 ntp engine ready constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 2001:470:142:3::a received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s constraint: failed to load constraint ca constraint: failed to load constraint ca no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s constraint: failed to load constraint ca no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s constraint: failed to load constraint ca no constraint reply from 209.51.188.148 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no reply received in time, skipping initial time setting constraint: failed to load constraint ca constraint: failed to load constraint ca no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca constraint: failed to load constraint ca no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s no constraint reply from 172.217.31.132 received in time, next query 900s no constraint reply from 2404:6800:4004:818::2004 received in time, next query 900s cat /gnu/store/v2cqcxliivrcn1rlz78p6mg21k7pxyrx-ntpd.conf listen on 127.0.0.1 listen on ::1 constraints from "https://www.google.com/" constraints from "https://www.google.com/" sensor udcf0 correction 70000 constraints from "https://www.google.com/" server 0.guix.pool.ntp.org server 1.guix.pool.ntp.org server 2.guix.pool.ntp.org server 3.guix.pool.ntp.org constraints from "https://www.google.com/" constraints from "https://www.google.com/" constraint from www.gnu.org Many tens of minutes later my date is still stuck in the past (despite using the "-s" flag, which is supposed to set the time immediately rather than slowly at startup). Am I missing something? Maxim