From nobody Sun Mar 06 23:17:51 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DCB2B19F77A9 for ; Sun, 6 Mar 2022 23:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KBcvM4Ndhz3sLl for ; Sun, 6 Mar 2022 23:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 76BB91D63F for ; Sun, 6 Mar 2022 23:17:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 226NHpjQ054943 for ; Sun, 6 Mar 2022 23:17:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 226NHpPT054942 for bugs@FreeBSD.org; Sun, 6 Mar 2022 23:17:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 262391] ntp.conf contains wrong information regarding leapfile Date: Sun, 06 Mar 2022 23:17:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646608671; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9Ka3Zk0v6aJ/Os1YmoNBSAA7W/aNxPuLfP8/lq5mkwU=; b=ZxKoeHGDexrWp+yvWQBiH/zyOJnTMMcoPjtoOsUsPH3mUN93TJpNTN9zgz1DrHhdJ37KuC wmIInsGMeRccDU8yAD/IHFT1q6O9sTtvQNFp7W2q5hDckIvDckomuXg3rAPhjz/Vhm2BPN /TjMp3/cfqPEdw7Zewj0eszcxj1wNzB1qGOf63CYoghXARnmoDAqrlQ/MzFMe//1BAI4qK MCM9e3oU2lscDWYfyjtwzc5i7Yhie5MbnP2Tkm6UfntE7tVWgMfme0GPMFHRQEWTQUVR+u ha5U7NiBbeMa7JO8YfWH7RSGNJGXUgnBWVPJbpWe/6a88UXN6R7r4WmjnAElvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646608671; a=rsa-sha256; cv=none; b=DzRuSXr7uXXWWS3ld8CmJiYZVMkbCcjJIQotTklb3yf5MNs1Y1uDpa5MgSP6cDNzwxQap6 eRbcsoZAYDq6spiiyCt6uaN4qT/PNSZHw7ktqpusmuoUUjf00BHv0KRyr/LJkhv7XGt4zA a02H2KvzIV9tHpnkxKywWUch4qBL249q3spKmhIWceeSfySFpBv2BcJKQ8zC4NS9N1bO7A ryrFogtH97nrxqIRYTGuY3BVn/c73YiZsXYBDp4HmMVvNBVJckQtBsnxlzGfQ1iNEZkp2n YYcri7mIuAXMxnHAsFNQ5yyUOyXB8+lOToC/Ppnr5sBdzz9iBc+jZfOiCNIWQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262391 --- Comment #1 from Dennis Clarke --- Further details. If we mrely use the leap seconds file provided by the base install then we get the message :=20 Mar 6 22:54:22 europa ntpd[1194]: ntpd 4.2.8p15-a (1): Starting Mar 6 22:54:22 europa ntpd[1194]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf Mar 6 22:54:22 europa ntpd[1194]: ---------------------------------------------------- Mar 6 22:54:22 europa ntpd[1194]: ntp-4 is maintained by Network Time Foundation, Mar 6 22:54:22 europa ntpd[1194]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Mar 6 22:54:22 europa ntpd[1194]: corporation. Support and training for n= tp-4 are Mar 6 22:54:22 europa ntpd[1194]: available at https://www.nwtime.org/supp= ort Mar 6 22:54:22 europa ntpd[1194]: ---------------------------------------------------- Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2021-06-28T00:00:00Z last=3D2017-01-01T00:00:00Z ofs=3D37 Mar 6 22:54:22 europa ntpd[1195]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired 252 days ago It is trivial to replace the file with the correct revision.=20 europa#=20 europa# fetch https://www.ietf.org/timezones/data/leap-seconds.list=20 fetch: https://www.ietf.org/timezones/data/leap-seconds.list: size of remote file is not known leap-seconds.list 10 kB 3151 kBps = 00s europa#=20 europa#=20 europa# /etc/rc.d/ntpd stop=20 Stopping ntpd. Waiting for PIDS: 1195. europa#=20 europa# cp -p leap-seconds.list /var/db/ntpd.leap-seconds.list europa#=20 europa# /etc/rc.d/ntpd start Starting ntpd. europa#=20 At which point we see the message :=20 Mar 6 23:14:11 europa ntpd[1266]: ntpd 4.2.8p15-a (1): Starting Mar 6 23:14:11 europa ntpd[1266]: Command line: /usr/sbin/ntpd -p /var/db/ntp/ntpd.pid -c /etc/ntp.conf Mar 6 23:14:11 europa ntpd[1266]: ---------------------------------------------------- Mar 6 23:14:11 europa ntpd[1266]: ntp-4 is maintained by Network Time Foundation, Mar 6 23:14:11 europa ntpd[1266]: Inc. (NTF), a non-profit 501(c)(3) public-benefit Mar 6 23:14:11 europa ntpd[1266]: corporation. Support and training for n= tp-4 are Mar 6 23:14:11 europa ntpd[1266]: available at https://www.nwtime.org/supp= ort Mar 6 23:14:11 europa ntpd[1266]: ---------------------------------------------------- Mar 6 23:14:11 europa ntpd[1267]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): good hash signature Mar 6 23:14:11 europa ntpd[1267]: leapsecond file ('/var/db/ntpd.leap-seconds.list'): loaded, expire=3D2022-06-28T00:00:00Z last=3D2017-01-01T00:00:00Z ofs=3D37 Works as promised ... near as anyone can tell. Dennis Clarke --=20 You are receiving this mail because: You are the assignee for the bug.=