Re: [Ntp] Circular dependencies

Philip Prindeville <philipp@redfish-solutions.com> Sun, 17 January 2021 02:19 UTC

Return-Path: <philipp@redfish-solutions.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2868D3A1B60 for <ntp@ietfa.amsl.com>; Sat, 16 Jan 2021 18:19:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fm6ZtJwnGkgd for <ntp@ietfa.amsl.com>; Sat, 16 Jan 2021 18:19:37 -0800 (PST)
Received: from mail.redfish-solutions.com (mail.redfish-solutions.com [45.33.216.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3234C3A1B5F for <ntp@ietf.org>; Sat, 16 Jan 2021 18:19:37 -0800 (PST)
Received: from [192.168.3.4] ([192.168.3.4]) (authenticated bits=0) by mail.redfish-solutions.com (8.16.1/8.16.1) with ESMTPSA id 10H2JVuN439669 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 16 Jan 2021 19:19:32 -0700
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
From: Philip Prindeville <philipp@redfish-solutions.com>
In-Reply-To: <20201112000217.85F5040605C@ip-64-139-1-69.sjc.megapath.net>
Date: Sat, 16 Jan 2021 19:19:31 -0700
Cc: Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <507ABA64-13DB-43E7-915C-5B6F1C909FA6@redfish-solutions.com>
References: <20201112000217.85F5040605C@ip-64-139-1-69.sjc.megapath.net>
To: Hal Murray <hmurray@megapathdsl.net>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
X-Scanned-By: MIMEDefang 2.84 on 192.168.1.3
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/ZHWjD_ky3V1dHpJi5_ICPRrmHcU>
Subject: Re: [Ntp] Circular dependencies
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Jan 2021 02:19:38 -0000


> On Nov 11, 2020, at 5:02 PM, Hal Murray <hmurray@megapathdsl.net> wrote:
> 
> 2) Systems like the Raspberry Pi that have a real file system but no battery 
> backed clock.  We can store the time in the file system.  This works as long 
> as the systems are powered up often enough to keep the time in the file system 
> close enough.


I had to do this... ran a cron job to save the time every 5 minutes.

The issue isn't how often you're booted.  It's how long you've been shut down (i.e. how old is your last snapshot of the time).