From owner-freebsd-current@FreeBSD.ORG Mon Nov 30 03:54:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC7AF1065676 for ; Mon, 30 Nov 2009 03:54:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7579B8FC13 for ; Mon, 30 Nov 2009 03:54:18 +0000 (UTC) Received: (qmail 20742 invoked by uid 399); 30 Nov 2009 03:54:08 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 30 Nov 2009 03:54:08 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B1341E7.1050805@FreeBSD.org> Date: Sun, 29 Nov 2009 19:54:15 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Harald Schmalzbauer References: <4B12CCA8.7050808@omnilan.de> In-Reply-To: <4B12CCA8.7050808@omnilan.de> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: named, VARMFS=yes and FILESDIR X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 03:54:18 -0000 Harald Schmalzbauer wrote: > Hello, > > while building an embedded slave DNS I recognized that running named out > of the box with VARMFS enabled would fail. > Now I could easily fix it for my device only, but I think it's better to > solve it upstream. > VARMFS=Yes is a standard option, likewise named_enable. There are lots of standard options that are not compatible with each other. > My idea is to create a namedb directory in /usr/share (like there's one > for sendmail) with duplicate entries of src/etc/namedb Why not just set named_chrootdir to /usr/share/namedb ? It's not 100% clear to me what you're trying to accomplish. Can you please go into a little more detail about your goals, rather than potential solutions? > P.S.: named_conf definitions in rc.conf get lost. Yes, that's something that needs improvement. I have it on the list but since it's not common for people to alter the path to the conf file, and since in the past in order to do so you've had to add -c to named_flags anyway, I don't regard it as urgent. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/