Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2008 17:55:22 +0200
From:      "Deian Popov" <deianp@gmail.com>
To:        "Robert Huff" <roberthuff@rcn.com>
Cc:        Ruben de Groot <mail25@bzerk.org>, freebsd-questions@freebsd.org
Subject:   Re: DNS /etc/namedb owner hell
Message-ID:  <bfc2b10c0802200755rd5156b6vf0c5d672d23f9add@mail.gmail.com>
In-Reply-To: <18364.10350.642689.920407@jerusalem.litteratus.org>
References:  <bfc2b10c0802200009n710c70fbv18fe1f35378dfd33@mail.gmail.com> <20080220103358.GA14370@ei.bzerk.org> <18364.10350.642689.920407@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you both, you solved the problem!

On Wed, Feb 20, 2008 at 3:17 PM, Robert Huff <roberthuff@rcn.com> 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
>
>



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