From owner-freebsd-questions@freebsd.org Mon May 16 18:19:22 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05B97B3D664 for ; Mon, 16 May 2016 18:19:22 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9496C189A for ; Mon, 16 May 2016 18:19:21 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x231.google.com with SMTP id n129so111498086wmn.1 for ; Mon, 16 May 2016 11:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=IwPAu01acXrFx7Bl4HxHH1V8RhWRxFKJuCa4rGqWKX0=; b=nBNU/7rIrcus6wxH42xUAkteaKmbLlydPEVaHU+chj5p5QTA+l6nrMaWiZZjY2SCi1 /bLUPiatGTh8nGwpiZpzKbZ63K/tURYXptLU4BmwBAeoOvw60erXBZatT7xmJULdG+hx Iq3DQwHKd0y4qotBxA4PcV70v6KPWnlLSEDO+wq9dI+r+pxs0CD0s0K188jArbrYofaw 4zjOO52H7f/S3uLJme0xEK7DcdO6iSoDNLJZ6QmhKBmw8KDFVOzvEmKXekuVbqNDUDIE cZfxxgQuRCFj3avN41+eFahaILPuOF2IARts9OWH2z5Yy53nY+H2jMrkhY7wpzw7yQfj Nu9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IwPAu01acXrFx7Bl4HxHH1V8RhWRxFKJuCa4rGqWKX0=; b=fVKmhdj2ULSdubYLSgyLQmJuqKFyEOKUWYK1ElZFvgnos1OiunW8WsrvIqmBd9MaCQ /XcL+FZD1i5eBgdqqW7u6tazwbCFG0lOdvXYctzMJGzqPc1QYSsYOv0tEHEr6WbMmHJ/ cm12WrJAOs0EbT7vidqkEp2IIHHDj3KXxC8L/mFZZlkkrhfkNK8oOh78iN5msJgDV/C4 YRkA2A7O1y7CU9wdPyVTlg8WN4+uoRjeuwxNHRBEL4lEqUXn82BjGe1ofujS4spTbfVh y80gVfS7UHCkU9qcMmJUEcRoD4Q7eAZwHELhn+s6JqPt2kNgx9691Ld074ap5STFJsIk SO+w== X-Gm-Message-State: AOPr4FUrvRYDWrVNYb7H/399KnfH7HY+kYerB3fJI5CzvK0neUDbMMV6MtE1c7ZJ/p13Og== X-Received: by 10.28.1.143 with SMTP id 137mr18251735wmb.17.1463422760229; Mon, 16 May 2016 11:19:20 -0700 (PDT) Received: from gumby.homeunix.com ([94.0.150.119]) by smtp.gmail.com with ESMTPSA id f188sm19744460wma.2.2016.05.16.11.19.18 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 11:19:19 -0700 (PDT) Date: Mon, 16 May 2016 19:19:16 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: ntpd leap-seconds-list file not documented Message-ID: <20160516191916.3b088d21@gumby.homeunix.com> In-Reply-To: <5739C499.9000105@gmail.com> References: <5739C499.9000105@gmail.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 18:19:22 -0000 On Mon, 16 May 2016 09:01:13 -0400 Ernie Luzar wrote: > The 10.3 version of ntpd that is included in the base release has > manual pages that do not mention anything about the > /var/db/ntpd.leap-seconds.list file > > or the > > daily_ntpd_leapfile_enable="YES" > daily_ntpd_avoid_congestion="YES" > options in /etc/periodic.conf > This kind of thing is often not documented in man pages, but it seems fairly well documented in the relevant files, see below. The only confusing thing is daily_ntpd_avoid_congestion, which needs to be set to NO if the machine doesn't run 24/7. from ntp.conf # See http://support.ntp.org/bin/view/Support/ConfiguringNTP#Section_6.14. # for documentation regarding leapfile. Updates to the file can be obtained # from ftp://time.nist.gov/pub/ or ftp://tycho.usno.navy.mil/pub/ntp/. # Use either leapfile in /etc/ntp or weekly updated leapfile in /var/db. #leapfile "/etc/ntp/leap-seconds" leapfile "/var/db/ntpd.leap-seconds.list" from defaults/rc.conf ntp_src_leapfile="/etc/ntp/leap-seconds" # Initial source for ntpd leapfile ntp_db_leapfile="/var/db/ntpd.leap-seconds.list" # Working copy (updated weekly) leapfile ntp_leapfile_sources="https://www.ietf.org/timezones/data/leap-seconds.list" # Source from which to fetch leapfile ntp_leapfile_fetch_opts="-mq" # Options to use for ntp leapfile fetch, # e.g. --no-verify-peer ntp_leapfile_expiry_days=30 # Check for new leapfile 30 days prior to # expiry. ntp_leapfile_fetch_verbose="NO" # Be verbose during NTP leapfile fetch from defaults/periodic.conf daily_ntpd_leapfile_enable="NO" # Fetch NTP leapfile daily_ntpd_avoid_congestion="YES" # Avoid congesting # leapfile sources