I was testing with this again recently and it seems the big difference is local_unbound! BtW Barry thanks for the suggestion but I (and I think others) mentioned in the thread that adding ldconfig REQUIRE in dnscrypt made no difference. A box with dnscrypt+unbound doesn't have the issue,so I compared the 2 rc.d scripts and noticed unbound doesn't use: "# BEFORE: NETWORKING" btw why would we want local_unbound "BEFORE" networking? doesn't it make more sense to run it after, If something fails there (NETWORKG) local_unbound won't be usable anyway, or am I saying something stupid? :P Melhores Cumprimentos // Best Regards ----------------------------------------------- *Miguel Clara* *IT - Sys Admin & Developer* On Fri, Jul 24, 2015 at 11:35 PM, Barry Allard <barry.allard_at_gmail.com> wrote: > Folks, > > The issue is that ldconfig must run before dnscrypt-proxy so it can find > the sodium shared lib. > > One simple fix is to change /usr/local/etc/rc.d/dnscrypt-proxy (might not > cover every edge case, but it appears to work.) > > # PROVIDE: dnscrypt_proxy > # REQUIRE: ldconfig cleanvar > # BEFORE: SERVERS > # KEYWORD: shutdown > > No more circular depends and ldconfig is always first. > > $ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk > '/SERVERS|dnscrypt-proxy|cleanvar|ldconfig|dbus/{print NR,$0}' > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `kerberos' > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `named' > rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no > providers. > rcorder: requirement `slapd' in file `/usr/local/etc/rc.d/postfix' has no > providers. > rcorder: requirement `slapd' in file `/usr/local/etc/rc.d/dovecot' has no > providers. > 18 /etc/rc.d/cleanvar > 67 /etc/rc.d/ldconfig > 68 /usr/local/etc/rc.d/dnscrypt-proxy > 75 /etc/rc.d/SERVERS > > (Feel free to fw: to the list. Also documented upstream > https://github.com/jedisct1/dnscrypt-proxy/issues/242 in case someone > else runs into this.) > > Regards, > Barry Allard > >Received on Thu Aug 27 2015 - 01:12:17 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC