Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2013 19:55:36 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: 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
Message-ID:  <86ioxrjucn.fsf@nine.des.no>
In-Reply-To: <86r4cfwpby.fsf@nine.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8r?= =?utf-8?Q?grav=22's?= message of "Mon, 23 Sep 2013 17:05:37 %2B0200")
References:  <201309230436.r8N4apZZ019707@svn.freebsd.org> <52404344.2080002@FreeBSD.org> <86r4cfwpby.fsf@nine.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> Bryan Drewery <bdrewery@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
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ioxrjucn.fsf>