Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2006 16:43:48 +1000
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        Chris <chrcoluk@gmail.com>
Cc:        stable@freebsd.org
Subject:   Re: named rc.d 
Message-ID:  <200608020643.k726hmmW023866@drugs.dv.isc.org>
In-Reply-To: Your message of "Wed, 02 Aug 2006 07:24:56 %2B0100." <3aaaa3a0608012324w1408b46cx46254f3697289fdb@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



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