From owner-freebsd-questions@freebsd.org Tue Aug 28 18:10:41 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D62A710933E5 for ; Tue, 28 Aug 2018 18:10:41 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [150.101.137.136]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5F88F5BB for ; Tue, 28 Aug 2018 18:10:40 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from 124-171-183-24.dyn.iinet.net.au (HELO leader.local) ([124.171.183.24]) by ipmail01.adl6.internode.on.net with ESMTP; 29 Aug 2018 03:40:32 +0930 Subject: Re: named and ntpd start order in rc.d To: Andrea Venturoli , freebsd-questions@freebsd.org References: <20180827.172100.2296091074664550273.yasu@utahime.org> <2a9b79b1-2b57-98d3-9b4e-53eb4a9768b8@netfence.it> From: Shane Ambler Message-ID: <26752c19-2a58-965b-bdfb-06dd84b732e4@ShaneWare.Biz> Date: Wed, 29 Aug 2018 03:40:31 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <2a9b79b1-2b57-98d3-9b4e-53eb4a9768b8@netfence.it> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 18:10:42 -0000 On 29/8/18 12:06 am, Andrea Venturoli wrote: > On 8/27/18 10:21 AM, Yasuhiro KIMURA wrote: > >> What are the versions of FreeBSD and BIND(named) you use? > > # freebsd-version > 11.2-RELEASE-p2 > # pkg info | grep bind > bind911-9.11.4P1               BIND DNS suite with updated DNSSEC and > > > >> "rcorder /etc/rc.d* /usr/local/etc/rc.d*" gets following result. > > In fact, > >> # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | grep -E "(ntp|named)" >> /usr/local/etc/rc.d/named >> /etc/rc.d/ntpdate >> /etc/rc.d/ntpd > So named starts before ntpd. While I see ntpd failing during boot, I never looked into whether it was working during uptime. Actually I get named in between ntpdate and ntpd, but I also get unknown provision and circular dependency errors from rcorder. % freebsd-version 11.2-STABLE % pkg info -x bind bind913-9.13.2 % rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | grep -E "(ntp|named)" /etc/rc.d/ntpdate /usr/local/etc/rc.d/named /etc/rc.d/ntpd On 27/8/18 2:04 am, Andrea Venturoli wrote: > > That bug (of the 7.0 era) was closed as fixed, since /etc/rc.d/ntpd > requires ntpdate, which in turn required named. -- FreeBSD - the place to B...Software Developing Shane Ambler