[Unbound-users] error when threading enabled on local_unbound on FreeBSD 10.x

unbound at fongaboo.com unbound at fongaboo.com
Tue Jul 21 22:30:05 UTC 2015


Surely... Just that I gather this conundrum only arises for those using 
FreeBSD with the built-in local_unbound implementation.


On Tue, 21 Jul 2015, Jeremy Shaffner wrote:

> To be clear, this is how $PATH works on any shell on any Unix like system.
> 
> On Tue, Jul 21, 2015 at 12:52 PM, <unbound at fongaboo.com> wrote:
>
>       Thanks... Sent me further down the right path (both literally and figuratively).
>
>       What I did was... I created a subdir /usr/local/etc/unbound/sbin
>
>       Then I added this to the top of the $PATH priority by editing .cshrc.
>
>       Then I made a bunch of symlinks from /usr/local/sbin/unbound-* to /usr/local/etc/unbound/sbin
>
>       This forced it such that when I run unbound-<whatever> from CLI anywhere, it defaults to the stock
>       version and not the FreeBSD local_unbound version.
>
>       For good measure, in case I ever want to run local_unbound for anything, I made a bunch more symlinks
>       from /usr/sbin/unbound-* to /usr/local/etc/unbound/sbin/local_unbound-*
> 
>
>       Hopefully this might be helpful to some FreeBSD users in the same situation...
> 
>
>       FONG
> 
> 
>
>       On Tue, 21 Jul 2015, Jaap Akkerhuis wrote:
>
>             unbound at fongaboo.com writes:
>
>             >
>             >
>             > Thanks,
>             >
>             > I am now attempting to install from ports. However, am I gathering
>             > correctly that FreeBSD's local_unbound's config files live in /etc/unbound
>             > while stock unbound has them in /usr/local/etc/unbound?
>             >
>
>             Yes.
>
>             > When I run unbound-control-setup, it seems to put the files it generates
>             > in /etc/unbound anyway. What do I have to do to make sure everything
>             > defaults to the stock setup instead of the local_unbound setup?
>
>             Note your $PATH
>
>             Make sure that you use the /usr/local/sbin/unbound-control-setup
>             (and others from the ports). The /usr/sbin/$unboundtools have wired
>             in the /etc as defaut path.
>
>             Alternatively always usr the -f config with the build-in
>             versions.
>
>                     jaap
>
>       _______________________________________________
>       Unbound-users mailing list
>       Unbound-users at unbound.net
>       http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
> 
> 
> 
> 
> --
> 
> Jeremy Shaffner
> Director of Information Technology
> Convo? | convorelay.com
> jeremy at convorelay.com
> 
> 
> 
> 
> 
> Voice: 925-480-7770 VP: 240-751-4749
> 
> 
>


More information about the Unbound-users mailing list