From owner-freebsd-stable@FreeBSD.ORG Sat Aug 5 04:27:32 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5741C16A4E1 for ; Sat, 5 Aug 2006 04:27:32 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF51243D53 for ; Sat, 5 Aug 2006 04:27:31 +0000 (GMT) (envelope-from chrcoluk@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so388187pyc for ; Fri, 04 Aug 2006 21:27:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y5ljRJk+6FoTSnV5TyhnfBP7qxzcGADJydRN53Dre7OJK3j89VFaSwTTpitdE90ihS/h1LdzOY8isNq5M76nNzA+CV3gvO0USAxzGNLAvmWOFSlD8qnj3L5jc7jts+LsyawGLq6Wog6hIxYNScRGcLajfhL7pAUvSHep9DYMBu0= Received: by 10.35.91.10 with SMTP id t10mr6433926pyl; Fri, 04 Aug 2006 21:27:30 -0700 (PDT) Received: by 10.35.36.18 with HTTP; Fri, 4 Aug 2006 21:27:30 -0700 (PDT) Message-ID: <3aaaa3a0608042127t680cf121p43e112af0014e1d0@mail.gmail.com> Date: Sat, 5 Aug 2006 05:27:30 +0100 From: Chris To: "Mark Andrews" In-Reply-To: <200608020643.k726hmmW023866@drugs.dv.isc.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3aaaa3a0608012324w1408b46cx46254f3697289fdb@mail.gmail.com> <200608020643.k726hmmW023866@drugs.dv.isc.org> Cc: stable@freebsd.org Subject: Re: named rc.d X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Aug 2006 04:27:32 -0000 On 02/08/06, Mark Andrews 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