From owner-freebsd-net@freebsd.org Sat Oct 13 14:30:45 2018 Return-Path: Delivered-To: freebsd-net@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 8EEE010CBBAA for ; Sat, 13 Oct 2018 14:30:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [IPv6:2a01:4f8:d12:604::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 16BF07CD00 for ; Sat, 13 Oct 2018 14:30:45 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [IPv6:2a03:3100:c:13:0:0:0:5]) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w9DEUW2N007795 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 13 Oct 2018 16:30:33 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: des@des.no Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w9DEUVvI091998 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 13 Oct 2018 21:30:31 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: DNS KSK rollover, local_unbound and 11.2-STABLE To: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= References: <5BC046FB.9080906@grosbein.net> <861s8uaodn.fsf@next.des.no> <20be8009-5de8-61f0-dc67-a6b18af7bc37@grosbein.net> <86bm7y2lui.fsf@next.des.no> <44dd8f4d-1608-b38f-2f3e-90d234065038@grosbein.net> <8636ta2i1k.fsf@next.des.no> <6af09cc1-47a4-fe64-7a11-5de26fe7f607@grosbein.net> <86y3b211tn.fsf@next.des.no> <86pnwe0w4y.fsf@next.des.no> Cc: freebsd-net From: Eugene Grosbein Message-ID: <35dcba1c-0694-4ead-6f01-bfcf920f47eb@grosbein.net> Date: Sat, 13 Oct 2018 21:30:26 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <86pnwe0w4y.fsf@next.des.no> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00,LOCAL_FROM,SPF_PASS autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.0 SPF_PASS SPF: sender matches SPF record * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2018 14:30:45 -0000 13.10.2018 21:16, Dag-Erling Smørgrav wrote: > Eugene Grosbein writes: >> Dag-Erling Smørgrav writes: >>> The local_unbound service was never intended to be started without a >>> network connection. >> Then this is regression since ISC BIND removal because it does not >> have this problem. > > Unbound is not a replacement for BIND. It serves a different purpose. I mean, for LAN as DNS recursive service. >> We should deal with the problem so clean install of FreeBSD relying on >> base system's local_inbound service work out of the box for PPPoE >> users too. > > Please send patches. For services which require networking to be operational before starting we have NETWORKING dummy dependency which has REQUIRE: netwait NETWORKING itself requires netif and resolv, so it is safe to make this change: Index: sbin/init/rc.d/local_unbound =================================================================== --- sbin/init/rc.d/local_unbound (revision 338465) +++ sbin/init/rc.d/local_unbound (working copy) @@ -4,8 +4,8 @@ # # PROVIDE: local_unbound -# REQUIRE: FILESYSTEMS netif resolv -# BEFORE: NETWORKING +# REQUIRE: NETWORKING +# BEFORE: DAEMON # KEYWORD: shutdown . /etc/rc.subr