svn commit: r255809 - in head: etc etc/defaults etc/rc.d share/man/man5 share/man/man8 tools/build/mk usr.sbin/unbound usr.sbin/unbound/local-setup

Dag-Erling Smørgrav des at des.no
Mon Sep 23 17:56:05 UTC 2013


Dag-Erling Smørgrav <des at des.no> writes:
> Bryan Drewery <bdrewery at FreeBSD.org> writes:
> > Why not add a link now in etc/Makefile? This would be surprising to not
> > find unbound.conf in /etc/
> Yep, I'm going to do that, but I need to figure out how not to break
> installworld for people who already have /etc/unbound (since it's
> currently in BSD.root.mtree).

To elaborate: my original plan was to have the configuration in
/etc/unbound and things like the root anchor and unbound-control keys
(which I still haven't hooked up) in /var/unbound, which is why
/var/unbound was originally 0750 (it is now 0755).  Unfortunately, this
doesn't work, because all of this needs to be inside the chroot, and
unbound refuses to start unless it is.  The only alternative is to not
chroot it, which is a questionable decision, to put it mildly.  So
there's no escaping placing everything either in /etc/unbound or in
/var/unbound.  I'm not sure which poison I prefer.

I also need to change the rcorder so unbound starts much earlier.  I
should probably just have NETWORKING require local_unbound require
netif, and then try to figure out whether local_unbound requires resolv
or the other way around, since local_unbound plays reindeer games with
resolvconf on first start.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-head mailing list