m master file managed-keys.bind failed

Martin McCormick martin at dc.cis.okstate.edu
Wed Dec 8 19:51:25 UTC 2010


I wrote:
> Who is supposed to own /var/named?

	I received a response from a kind soul from this list
who reminded me of a directive new to bind9.7.1 that lets you
determine where the managed-keys.bind file lives. I set up

managed-keys-directory "/etc/namedb/working";

and all is now well with that zone. This appears to be a logical
place for the file and there is nothing else in that directory
which is already under bind ownership.

I also asked:

>         Is there, by chance, a "make it good" script where it
> just chown's everything to the proper directories? That would be
> very helpful.

	It would be helpful, but as I did a find on /var/named
and looked for everything owned by user bind, I realized that
there really isn't all that much to do. The whole tree can be
downed by root but anything that must be written by bind must be
owned by bind and it will sure tell you if it tries to write to
a directory owned by any other user such as root so sometimes,
it is good just to look at the big picture and see that it is
not difficult.

Martin



More information about the bind-users mailing list