RE: [EXTERNAL] Re: [chrony-users] Syncing time as with a single request |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: "chrony-users@xxxxxxxxxxxxxxxxxxxx" <chrony-users@xxxxxxxxxxxxxxxxxxxx>
- Subject: RE: [EXTERNAL] Re: [chrony-users] Syncing time as with a single request
- From: Gustav Krantz <Gustav.Krantz@xxxxxxxxxxxxx>
- Date: Tue, 4 Feb 2020 22:12:28 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L5h4xuIOA+WbUxt1eMpzDUKhZHUdk6DGCWDi6XWBOfU=; b=aTi6Fj8pEL8yTU6J5HJ5/kFbxniBColV1stwcsJxyWiarB1arj5e5SwoDRAxYdgAJzsxiU13buwpu3EV6Wn7HQlVpMYX/nxYAFJF89+RR0s/zUUXHCaLlRxBHwrW5eQlCSokApSJafWjlB4c1HBuXTQeVaKe5Dx4qlfeCpduZIufrQKJFjjOdBn+/eTbxyKI6fLkur9Yr87YfTwpJf6BVG1Ob4gYbHyTfIjpZFZz9jPlICVKzcwWa7VdtRSaueZXYfVk+OVLREhHKAOztV4X9sZoeeUPwMh+TePJb2XveB1x2W9yPzKhn4ox43BES9VSRKFpCCDJ30Z6UMlVoU0Uow==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R+I3+HyrQ2Xw77LtaDfHpA1Cy/CIp+zgPV6H1TWkdu9LtGapcB8+BuvKA6Tq0LMFlyggo6OYOtpSlo8ndgp0RMephAUhOjZwW5gauPRjmm1hgD00FdnqvVY2SwV5nuTHfdx6I/4EEw4H1ZNqtCrz+Cn6+/6phJ/BEylETxpBvis3pPAcQOt4q1z//LP0tt7wOI5um3ZhN+u3quYzUKqO+O6QlzBxrmtB/N7mIGSH5Ua2ghJouUJx2Gki8xquGPP+BzxueKehzU0M/jhVSH6qzmUykj4j52EeNTODArGUtOEltggJSnFqkRRRViI0Ba8qrDgpPDvypvCctl8PpRbPuQ==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gustav.Krantz@xxxxxxxxxxxxx;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=L5h4xuIOA+WbUxt1eMpzDUKhZHUdk6DGCWDi6XWBOfU=; b=Mneh5YiJXae2k6vVlbmQZG/p8EiL5HPx30CrK+jXNuSsphhEGTIw3ZGHecXIarjUvszBToa+v33ZCGvFsALB4caH5xNzXx0UNFO4dxxDVM8lp0oNidJfA610Ui1m4QOx+zRh1a3TghOh43AbXzisnQ836eFmtt+3KUsLrUUvmjA=
- Msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=gukrantz@xxxxxxxxxxxxx; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-02-04T22:12:22.9808331Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=5d0856a2-e877-49f1-bd24-8f35b2e2198a; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic
- Thread-index: AdXVkOjTMpuR8mthRXOuV0ySJJu4fQAJP0QAAXwrOZA=
- Thread-topic: [EXTERNAL] Re: [chrony-users] Syncing time as with a single request
From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Sent: Tuesday, January 28, 2020 12:36 AM
>The current development code in git supports a single-sample selection/update mode, enabled by setting maxsample to 1, but it's meant to be used only in the "ntpdate" mode (-q/-Q option) as it doesn't adjust the frequency of the clock. You could use it for the initial correction before normally starting chronyd.
>
># chronyd -q 'pool pool.example.com maxsamples 1 iburst'
Hello Miroslav,
Thank you for your answer. This is exactly what I am looking for, however it seems that what you are suggesting is not working.
x:~$ sudo chronyd -q 'pool 0.pool.ntp.org maxsamples 1 iburst'
2020-02-04T22:03:05Z chronyd version 3.3 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)
2020-02-04T22:03:05Z Initial frequency 6.501 ppm
2020-02-04T22:05:22Z No suitable source for synchronisation
2020-02-04T22:05:22Z chronyd exiting
Removing the maxsamples 1, will allow a sync, but with assumingly several requests sent with a wait in between.
x:~$ sudo chronyd -q 'pool 0.pool.ntp.org iburst'
2020-02-04T21:58:58Z chronyd version 3.3 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -SECHASH +IPV6 -DEBUG)
2020-02-04T21:58:58Z Initial frequency 6.501 ppm
2020-02-04T21:59:03Z System clock wrong by 0.001764 seconds (step)
2020-02-04T21:59:03Z chronyd exiting
Do you have any ideas of what could be the issue?
Thanks,
Gustav Krantz
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.