From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 15:55:25 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5981B16A534 for ; Wed, 20 Feb 2008 15:55:25 +0000 (UTC) (envelope-from deianp@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id 6A74A13C459 for ; Wed, 20 Feb 2008 15:55:23 +0000 (UTC) (envelope-from deianp@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2155561fgg.35 for ; Wed, 20 Feb 2008 07:55:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=kH0LpZ7vlzriJAVdwbSwsMSzoRKi7XuGCBAC0D43ovE=; b=om13y85nCQ+1xHs3CJlSIZWMetCLzK/MzBb1KUybmuLpk87jCwUghVm8j2d4Dp4qO12SYa8OsxiKcRA+oXze2YZu8xIjolPASa7NQxv76Vo2mQzvQ+xvNbmj272ZyHR3GdQbZmI29sskPZ/rK5UxBcrQLJhcqWrIq5uBJ0f5hg4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=srMU/+JO3DrD5zmR1A+sJoUbGVCXc8SdveA10++tuDlT5TrDjfC7g3UD+m32z/L6JQMuRJaG66QXHfa+AcjPHswnQlJh7LlFSQfPf1UpezaAwaQDDA5AIYAr59zkIUGZbV+FO5gI5Nr7u3CSCZTRLsl7RMDEaK1h9oHpPsaDTdw= Received: by 10.82.187.2 with SMTP id k2mr16556693buf.19.1203522922815; Wed, 20 Feb 2008 07:55:22 -0800 (PST) Received: by 10.82.120.14 with HTTP; Wed, 20 Feb 2008 07:55:22 -0800 (PST) Message-ID: Date: Wed, 20 Feb 2008 17:55:22 +0200 From: "Deian Popov" To: "Robert Huff" In-Reply-To: <18364.10350.642689.920407@jerusalem.litteratus.org> MIME-Version: 1.0 References: <20080220103358.GA14370@ei.bzerk.org> <18364.10350.642689.920407@jerusalem.litteratus.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ruben de Groot , freebsd-questions@freebsd.org Subject: Re: DNS /etc/namedb owner hell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 15:55:25 -0000 Thank you both, you solved the problem! On Wed, Feb 20, 2008 at 3:17 PM, Robert Huff wrote: > Ruben de Groot writes: > > > > I have the following problem with bind: > > > > > > it is configured to run as bind:bind and after every reboot of the > system > > > all files and directories under /etc/namedb become owned by > root:wheel so > > > bind is unable is unable to update it's zone files after dhcpd leases > IP to > > > any given client. How to fix either owner, or set somewhere that the > owner > > > of this folder, subfolder and files is my DNS server? > > > > Try setting named_chroot_autoupdate to NO in your rc.conf > > Does this still work if you don't run chrooted? > To the OP: does this happen every reboot, or when you update the > system? I used to have tha latter problem, and fixed it by adding > > NO_BIND_ETC= true # Do not install files to /etc/namedb > > to /etc/make.conf. Upsides: no permission mangling, and no > automatic file update. Downside: no automatic file update, though > you can deal with this using mergeaster. > > > Robert Huff > >