From RHEL to CentOS BIND 9
Adam Tkac
atkac at redhat.com
Wed Dec 5 14:51:23 UTC 2007
On Wed, Dec 05, 2007 at 08:25:37AM -0600, isplist at logicore.net wrote:
> I'm still missing something here. I've looked at the FAQ, I've checked
> ownership and permissions? I have named.pid owned by named,
>
> Then,
>
> drwxrwxr-- 2 root named 4096 Jul 19 2005 dev
> drwxrwx--- 2 root named 4096 Dec 4 17:47 etc
> dr-xr-xr-x 51 root root 0 Dec 3 05:20 proc
> drwxrwx--- 5 root named 4096 Dec 4 11:08 var
>
> However, transfers are still failing between servers;
>
> Dec 5 08:08:33 dns named[5760]: dumping master file: tmp-XXXXcbDnhE: open:
> permission denied
> Dec 5 08:08:33 dns named[5760]: transfer of 'xxx.com/IN' from xx.xx.xx.31#53:
> failed while receiving responses: permission denied
> Dec 5 08:08:33 dns named[5760]: transfer of 'xxx.com/IN' from xx.xx.xx.31#53:
> end of transfer
>
> Thing is, this is happening on both the new server AND the old DNS server
> which was working fine until I tried to tar it all up :).
>
>
> Mike
- put your slave zone to ${chroot}/var/named/slaves directory. (should have
"drwxrwx--- named named" by default)
- if you have SELinux enabled run "restorecon -R
${chroot}/{dev,etc,var}"
Also good way how setup chroot is use bind-chroot-admin script. You
should only put zones to standard directory and run bind-chroot-admin
--enable and this command will do all needed work
Adam
--
Adam Tkac, Red Hat, Inc.
More information about the bind-users
mailing list