From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 11:00:02 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 DF8B7CEA for ; Fri, 12 Dec 2014 11:00:02 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70BAD6BB for ; Fri, 12 Dec 2014 11:00:02 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id h11so2140783wiw.9 for ; Fri, 12 Dec 2014 03:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=58QvHJpfE1fxbzsWBNE11lXBMuPxWTGs6ykebPJynpI=; b=JXGamtbZrQMJ4I5AGFMTnI3PJOyuW5PE29vE7IMcuckd07A27rBFmJmlf+nB3OPfpV YKCaaZcPxzeebc9WmkpqanKytjXnvvFistDq4eh2T4ivSC8sNCAnpz70L/UUw4tl6vdO UKD58J5PAv3DCN/dqDtB3xBRg32l+gPsN20K/zOCgjr1H7bQU+cUApWZ93/sKyT9NaPG bLrU1lYobQ3/s5Ohbucr+8GKkfV4snK9ncZLGRrJjHsRAB+S6XUgvayvn5QFgCDP+gLv HjlJemzM55t6gvP6OdQZaUxGmIrLyB8aQ3fqspoAnGDF/LGNyydpoq9mgxLfb9Ogb18w JhfA== MIME-Version: 1.0 X-Received: by 10.180.20.6 with SMTP id j6mr6279850wie.59.1418382000874; Fri, 12 Dec 2014 03:00:00 -0800 (PST) Received: by 10.27.131.217 with HTTP; Fri, 12 Dec 2014 03:00:00 -0800 (PST) In-Reply-To: <548AC04A.8000804@bluerosetech.com> References: <20141211105139.GA1270@xtaz.uk> <20141212075328.GB52267@xtaz.uk> <548AC04A.8000804@bluerosetech.com> Date: Fri, 12 Dec 2014 05:00:00 -0600 Message-ID: Subject: Re: Unbound/NSD rc startup order From: Scot Hetzel To: FreeBSD Ports Content-Type: text/plain; charset=ISO-8859-1 Cc: Matt Smith 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 11:00:03 -0000 On Fri, Dec 12, 2014 at 4:15 AM, Darren Pilgrim wrote > 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. > Would it be better to add: # BEFORE: unbound to the dns/nsd rc.d script? -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.