Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 05:27:28 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Kenneth W Cochran <kwc@theworld.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 4.10-BETA named (not) starting
Message-ID:  <20040419102728.GA95406@over-yonder.net>
In-Reply-To: <200404151350.JAA811198@shell.TheWorld.com>
References:  <200404151317.JAA827152@shell.TheWorld.com> <200404151350.JAA811198@shell.TheWorld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 15, 2004 at 09:50:51AM -0400 I heard the voice of
Kenneth W Cochran, and lo! it spake thus:
> 
> This is what I have:
> 
> named_flags="-u bind -g bind -t /etc/namedb"
   [...]
> That would be /etc/named/named.conf  (spelling :)

No, the config file gets loaded AFTER you chroot to the directory you
specified with `-t`.  And since that's /etc/namedb, and it's expecting
to find an /etc/namedb/named.conf, the file should actually be in
/etc/namedb/etc/namedb/named.conf.  You'd have to specify with -c
where it is relative to the chroot.

The `ndc start` worked because it doesn't include the args in rc.conf,
so it's not chroot'd (or running as bind, for that matter...)


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"



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