Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2006 05:27:30 +0100
From:      Chris <chrcoluk@gmail.com>
To:        "Mark Andrews" <Mark_Andrews@isc.org>
Cc:        stable@freebsd.org
Subject:   Re: named rc.d
Message-ID:  <3aaaa3a0608042127t680cf121p43e112af0014e1d0@mail.gmail.com>
In-Reply-To: <200608020643.k726hmmW023866@drugs.dv.isc.org>
References:  <3aaaa3a0608012324w1408b46cx46254f3697289fdb@mail.gmail.com> <200608020643.k726hmmW023866@drugs.dv.isc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/08/06, Mark Andrews <Mark_Andrews@isc.org> wrote:
>
> > Apologies if posted to wrong list, the rc.d script for named chowns
> > /etc/namedb to root:wheel if set to bind:bind why is this?  A slave
> > named server running as bind user cannot download new slave zones if
> > dir ownership is root or update it if file ownerships are root which I
> > sometimes see.
>
>        Use /etc/namedb/slave for slave zone.
>        Use /etc/namedb/dynamic for dynamic zone.
>
>        Mark
>
> # $FreeBSD: src/etc/mtree/BIND.chroot.dist,v 1.6 2004/11/04 05:24:29 gshapiro Exp $
> #
> # Please see the file src/etc/mtree/README before making changes to this file.
> #
>
> /set type=dir uname=root gname=wheel mode=0755
> .
>    dev             mode=0555
>    ..
>    etc
>        namedb
>            dynamic uname=bind
>            ..
>            master
>            ..
>            slave   uname=bind
>            ..
>        ..
>    ..
> /set type=dir uname=bind gname=wheel mode=0755
>    var             uname=root
>        dump
>        ..
>        log
>        ..
>        run
>            named
>            ..
>        ..
>        stats
>        ..
>    ..
> ..
>
> > Chris
> > _______________________________________________
> > freebsd-stable@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org
>

thanks to all, I see now.  So using the subdir is the correct way.

Chris



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