Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2018 01:07:54 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@des.no>
Cc:        freebsd-net <freebsd-net@freebsd.org>
Subject:   Re: DNS KSK rollover, local_unbound and 11.2-STABLE
Message-ID:  <fbf406ce-9ec7-fa22-97e0-ebdc75cc1671@grosbein.net>
In-Reply-To: <86lg712263.fsf@next.des.no>
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> <de40aa13-7e29-02ec-f4b0-f83d49ae71aa@grosbein.net> <86pnwe0w4y.fsf@next.des.no> <35dcba1c-0694-4ead-6f01-bfcf920f47eb@grosbein.net> <86lg712263.fsf@next.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
14.10.2018 0:21, Dag-Erling Smørgrav wrote:

> Eugene Grosbein <eugen@grosbein.net> writes:
>> 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
> 
> No, this is wrong.  Unbound has to start before NETWORKING.  Everything
> after NETWORKING assumes that DNS works.

OK then:

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 @@
@@ -4,7 +4,7 @@
 #

 # PROVIDE: local_unbound
-# REQUIRE: FILESYSTEMS netif resolv
+# REQUIRE: FILESYSTEMS defaultroute netwait resolv
 # BEFORE: NETWORKING
 # KEYWORD: shutdown





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fbf406ce-9ec7-fa22-97e0-ebdc75cc1671>