Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3629676pxf; Mon, 29 Mar 2021 07:23:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxheWmnq8Ksw6x1hFHaTf1jcG/wXYtwtbxFLT/SKsZ88teE+kH5ktcsfIK2TkMLGlpOjYSd X-Received: by 2002:a17:906:bd2:: with SMTP id y18mr29059245ejg.482.1617027809707; Mon, 29 Mar 2021 07:23:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617027809; cv=none; d=google.com; s=arc-20160816; b=M/AchmzM7HMVdWr4vnQBWo4XHn76Oh4dZW82zUw+BOMYvxflnhDUcIAH47Kofm+Zg0 /LsqbE5MvSTB5IQ4U2ZC/DT3GU6antxpl45Rwq58eFM4I1WZhUk5/HbtQJItqGhtBwK8 +cYAm6VGU47HllqMmkyRzH/mMZI11WF237q45CYbbDGJDHZabDI5ey+yFHeyWwjGo6Dn qmlvHYDp8MSNJxN1ia2Q2TrHOFDvYrSbr6Vwt2MustT9BS5vXyqnbRxxWxD78iUsdG7L 9LuW7wk1UmmKwG3zXxDfRvw9FEyqN+RzgjK0GpdP2pwDya2zr4XBNVmtj37qGbZVNBuQ Opww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cDnq1q/ixaVc6yHqM4JadYnjCDMnNs61XGSyJlHYRyk=; b=F91mBYmdMtXovdgGH82otxrCZRTnvxyL0VC5m4JCeuV4BjAUBFCPSYz1NhF9/jch3o 8mOj1DYlmDHVhiVvVhkr2HqhUa9wRiyoIaPATFEcp1/cHqOJyhfZpVnBcLRtzN0hQNUO B99Jjl/+r04vrPgNePa21Z1hp/TK7rBX2OviSLg3HyRchN0p2MAtNi3EbITRhMI/HAij OnmI4YSlfFo0Iw04dWYvuFj2B3E+v3v7TnKwvhAvkDPQ2xTz48pElQZFheKqkkIHU/5I yZQMyFMmom7kS16iDb8lao7SNYDu+mmBfUa+Retg7C2JwUYr/QuyqFogWeALGZH06DK2 +04A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H3whbVbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si12968596edz.154.2021.03.29.07.23.06; Mon, 29 Mar 2021 07:23:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=H3whbVbF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229628AbhC2OV6 (ORCPT + 99 others); Mon, 29 Mar 2021 10:21:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhC2OVZ (ORCPT ); Mon, 29 Mar 2021 10:21:25 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7113DC061574 for ; Mon, 29 Mar 2021 07:21:25 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id t20so4463071plr.13 for ; Mon, 29 Mar 2021 07:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=cDnq1q/ixaVc6yHqM4JadYnjCDMnNs61XGSyJlHYRyk=; b=H3whbVbFholAqsAFuvE5aKB4O0j6HZRSQkOH1Lbo2CZvs8Tn6pJCAWdTBhgI6cWryY AKc+CF+ytasxVg7EPkmzQVmZUdOkt5dYfk2/w2H34X2fYN3+BCm5li8sacGt+wEKxono UumcHsGW4RspbwyCmboTuvV2loHyNPM0J3QMfysZxBa6fbm7Ziqdjif6DfEIkntDIjNo rv2mwBeAVM22D1I2kCR2CiWEApdVWdvyKazNZO973AYbBoqj0wZSew05tU02L4RZO5ub icSj/1+a2GlnId1eruP7Y4wmNBKP6TufMfxgrHfZl4Igxvm0GCBjssxJKvAzBHU07DD6 +ybQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=cDnq1q/ixaVc6yHqM4JadYnjCDMnNs61XGSyJlHYRyk=; b=IbpwWs3VDfeH/vCjHAqShJP/8Ud7n5WHBU/nwxS4cDEa/0aZRRl1wLQ7IwYaqiLqaJ 3jOS1RFZ2RcXC2Wfmk85tYl+gYzeNUZgVnI7R1svlQ8nNEP3be19gpVtooctcrrE0c47 VXVVoLbRazgk+dVWYwdyOCVgojJlNDn/qAM4vA8LHF5TBnfczkOIXrUnvL17MlFWvomb Jh60f1DaN2/vuucv+uWPTvZK3FoNKtWpZe6Utb4RqbrIm/3M9a4q4o5o/0o2dJKRVmKx /o55c+cL6RRKYwF+35JHebnwfpsL6BI8EMfsVDZPNvPU1x8uWwBVS0NVn8ZGFb4mWb4k KxKA== X-Gm-Message-State: AOAM531lcFI745DRBVqyx4Q64kzHbDepUz1xHlSRQJypJfD3pDJ5eTzV VPEFxdlT+E0uhUdxiNxFAQw= X-Received: by 2002:a17:90a:a616:: with SMTP id c22mr25983414pjq.94.1617027684948; Mon, 29 Mar 2021 07:21:24 -0700 (PDT) Received: from hoboy.vegasvil.org ([2601:645:c000:3c:e2d5:5eff:fea5:802f]) by smtp.gmail.com with ESMTPSA id i14sm8322554pgl.79.2021.03.29.07.21.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 07:21:24 -0700 (PDT) Date: Mon, 29 Mar 2021 07:21:22 -0700 From: Richard Cochran To: Miroslav Lichvar Cc: Thomas Gleixner , Daphne Preston-Kendall , LKML , John Stultz , "Michael Kerrisk (man-pages)" Subject: Re: [Bug 212265] New: clock_gettime(CLOCK_TAI, ...) should return an error when TAI has not been configured Message-ID: <20210329142122.GB20909@hoboy.vegasvil.org> References: <87sg4iupzs.fsf@nanos.tec.linutronix.de> <20210327032859.GA3168@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 29, 2021 at 11:16:48AM +0200, Miroslav Lichvar wrote: > On Fri, Mar 26, 2021 at 08:28:59PM -0700, Richard Cochran wrote: > > Using ntpd on Debian, the service will set the offset, but only after > > synchronization with the upstream server has been established, and > > this takes about five minutes, IIRC. > > With the iburst option it shouldn't take more than 10 seconds. There > might be an issue wrt stepping the clock when the initial offset is > large. Really? Debian has # pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will # pick a different set every time it starts up. Please consider joining the # pool: pool 0.debian.pool.ntp.org iburst pool 1.debian.pool.ntp.org iburst pool 2.debian.pool.ntp.org iburst pool 3.debian.pool.ntp.org iburst I guess I'll measure again, but I'm pretty sure it took a long time to get to TAI being set. > In Fedora and derived distros using chrony by default the > TAI-UTC offset should be set right on the first update of the clock as > expected. (Maybe it is time to switch to chrony ;) Thanks, Richard