DNS KSK rollover, local_unbound and 11.2-STABLE

Eugene Grosbein eugen at grosbein.net
Sat Oct 13 18:08:14 UTC 2018


14.10.2018 0:21, Dag-Erling Smørgrav wrote:

> Eugene Grosbein <eugen at 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




More information about the freebsd-net mailing list