From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 10:15:40 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 841A159A for ; Fri, 12 Dec 2014 10:15:40 +0000 (UTC) Received: from mario.brtsvcs.net (mario.brtsvcs.net [IPv6:2607:fc50:0:a400::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 58E2774 for ; Fri, 12 Dec 2014 10:15:40 +0000 (UTC) Received: from chombo.houseloki.net (c-71-59-211-166.hsd1.or.comcast.net [71.59.211.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mario.brtsvcs.net (Postfix) with ESMTPSA id 9C2D52C1688; Fri, 12 Dec 2014 10:15:38 +0000 (UTC) Received: from [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29] (unknown [IPv6:2601:7:2580:181:baca:3aff:fe83:bd29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by chombo.houseloki.net (Postfix) with ESMTPSA id BB8E914A7; Fri, 12 Dec 2014 02:15:35 -0800 (PST) Message-ID: <548AC04A.8000804@bluerosetech.com> Date: Fri, 12 Dec 2014 02:15:38 -0800 From: Darren Pilgrim Reply-To: freebsd-ports@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Matt Smith , freebsd-ports@freebsd.org Subject: Re: Unbound/NSD rc startup order References: <20141211105139.GA1270@xtaz.uk> <20141212075328.GB52267@xtaz.uk> In-Reply-To: <20141212075328.GB52267@xtaz.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2014 10:15:40 -0000 On 12/11/2014 11:53 PM, Matt Smith wrote: > Somebody has let me know that I made an obvious mistake in the above. I > meant that the default rcorder is to run Unbound first followed by NSD. > So to clarify I think in the default situation Unbound starts first, > contacts NSD and gets no answer because it hasn't been started yet and > then fails in some way. Whereas if NSD is running first then Unbound is > happy. Unbound requires SERVERS, but nsd requires LOGIN, a much later checkpoint. The fix would be adding an rcorder override mechanism whereby one could specify additional constraints (like unbound REQUIRE nsd). If there's interest for this, I can see about a patch.