Subject: Re: CVS commit: basesrc/distrib/sets/lists/base
To: Jim Wise <jwise@draga.com>
From: Greg A. Woods <woods@weird.com>
List: source-changes
Date: 10/12/2001 16:02:00
[ On Friday, October 12, 2001 at 15:12:30 (-0400), Jim Wise wrote: ]
> Subject: Re: CVS commit: basesrc/distrib/sets/lists/base
>
> Why?  Does anything in netbsd use /var/named by default in the
> non-chroot case (the default named.conf uses /etc/namedb).

Although the default named.conf doesn't safely re-direct the various
temporary files used/created by named to this directory, it should:

        # keep named out of world-writable directories....
        dump-file "/var/named/named_dump.db";
        statistics-file "/var/named/named.stats";
        memstatistics-file "/var/named/named.memstats";

> If not, surely it's not unusual to expect that if you choose a
> non-default path, you create that path, no?

Well I had been choosing the default path, and it had been created for me.

I won't choose that "default path" though if it contains "chroot",
especially if I don't run my named chrooted.

The default path doesn't need "chroot" in it, especially if it can be
used with or without chroot(2).

(The same goes for ntpd, BTW, which could always use /var/ntpd
for the likes of its driftfile regardless of whether or not it is
chrooted.)
 
-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>