Re: [Ntp] Circular dependencies

Warner Losh <imp@bsdimp.com> Sun, 17 January 2021 02:39 UTC

Return-Path: <wlosh@bsdimp.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 D9FED3A1B6B for <ntp@ietfa.amsl.com>; Sat, 16 Jan 2021 18:39:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=bsdimp-com.20150623.gappssmtp.com
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 2iwXPTpBpcGT for <ntp@ietfa.amsl.com>; Sat, 16 Jan 2021 18:39:41 -0800 (PST)
Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 35AC63A1B6A for <ntp@ietf.org>; Sat, 16 Jan 2021 18:39:40 -0800 (PST)
Received: by mail-qk1-x72a.google.com with SMTP id p14so15729056qke.6 for <ntp@ietf.org>; Sat, 16 Jan 2021 18:39:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZDQI+sWTCx858wROVCWbV8KoC+pi56sR0P6f+hJ0Y34=; b=GjpbIFs+V+1mz7slLZLplaKCzJWGBL7FG4bX4bHppi6GMnuWoN49zYtxqCkU1DQ/Zw m7q606x9BKRot7PPxCmU0u7ydFBb4vWltrwj/IqiTEnMOa5NK6xbjk/ZQ0GuzeLo4/f4 IP/i14F8Lr3J9Or49zNmaHtND903LeSfreuXTioMcteRRZVvA0F9eSRH/UDx9MYR4W3/ 37jAYiLqNt0Ydy/gmnT5StbGOYeJUrdEdD4POe+CAP2CR8fEaek2Y3PG7/gM3NNa6587 hxXOwCt+rlgnAI9yp7FV6d4ckRa5FBAd4jzBxGJ+F12hdgwLDHp+kTsN+od3HU6Dy1Uj 1Oew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZDQI+sWTCx858wROVCWbV8KoC+pi56sR0P6f+hJ0Y34=; b=rMqljPqCpH2AsjGzaPky0Pw2GcPoVBGsFCbtIn9LefSWjaclUzNRejwaQxEZWpdFrs DgoJaPIDX7UaIRIAE8/qdX25VRARQ532ytqOuzGP8euTup29YL7braA3j0XHdvxhYald 0M78KUgIRidcjgBTCcofvL8iufAsSQGQaJ3WZNvrPgEX6LCRC3mvJxn49clFvI4xRhaG Ar6LrPw4Ca/6tX+cYesLaBYJnbr+LLp7thx0RyTsBuzVl1o9nuxAhzEUwE0GHZD5oPde U5LLNjoD3HtTPIbpVsKNOjsLlzlUI6eTJ9TBLPoWVWu/SLPSfx6n70rMKQ0bj6NyMToi 9rtw==
X-Gm-Message-State: AOAM533G1ReRlvgzLfhXevb+cWfo+08xfvOasPE+fANOjVvQMLhEGD6O 3+aAjWeHzJ+KK9j5Iw1/Jrvj4h2nWlmVfKdXJojsJA==
X-Google-Smtp-Source: ABdhPJxs8Y4ghcd72eW7Xwsckvb1g6CZxOGJ2tecldspMJ6MstE+DXyqJmpLYmvKjjE5AmdD+qE8Z9GrDkf7nLuC4b4=
X-Received: by 2002:ae9:ebd5:: with SMTP id b204mr18809895qkg.195.1610851179868; Sat, 16 Jan 2021 18:39:39 -0800 (PST)
MIME-Version: 1.0
References: <20201112000217.85F5040605C@ip-64-139-1-69.sjc.megapath.net> <507ABA64-13DB-43E7-915C-5B6F1C909FA6@redfish-solutions.com>
In-Reply-To: <507ABA64-13DB-43E7-915C-5B6F1C909FA6@redfish-solutions.com>
From: Warner Losh <imp@bsdimp.com>
Date: Sat, 16 Jan 2021 19:39:27 -0700
Message-ID: <CANCZdfpR2JTc+FRKytAjf-2ZOMvVk4TsuqTBSwtQ-SS6muMXVw@mail.gmail.com>
To: Philip Prindeville <philipp@redfish-solutions.com>
Cc: Hal Murray <hmurray@megapathdsl.net>, Watson Ladd <watsonbladd@gmail.com>, NTP WG <ntp@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005cc66305b90f84b1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/WT5PQUyC3SK2lJiQAYYc-iThB0g>
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:39:43 -0000

On Sat, Jan 16, 2021, 7:19 PM Philip Prindeville <
philipp@redfish-solutions.com> wrote:

>
>
> > 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).
>

Sure makes cold spares hard to implement..


_______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp
>