From RHEL to CentOS BIND 9

isplist at logicore.net isplist at logicore.net
Wed Dec 5 19:10:13 UTC 2007


>failed while receiving responses: permission denied

The FAQ tells that this is a permissions problem and that;

///
If named is invoked as "named -t /chroot/DNS" with the following named.conf 
then "/chroot/DNS/var/named/sl" needs to be writable by the user named is 
running as.
\\\

So, this is where things get silly and not as simple as a few have said this 
should be since I've changed nothing so far other than have done what I need 
to do, move the files over, restart as new server, etc.

named is running as user named.

# ls -la /var/named/chroot/var/named/
total 120
drwxr-x--- 4 root  named 4096 Dec  4 15:26 .
drwxrwx--- 5 root  named 4096 Dec  4 11:08 ..
-rw-r--r-- 1 root  root  1413 Apr 24  2007 0
-rw-r--r-- 1 root  root  1583 Oct 19 14:01 xx.xx.xx.in-addr.arpa
-rw-r--r-- 1 root  root   230 May 25  2007 xx.in-addr.arpa
-rw-r--r-- 1 root  root  1630 Dec  4 15:26 xxx.com
drwxrwx--- 2 named named 4096 Aug 25  2004 data
-rw-r--r-- 1 root  root   888 Dec  4 14:50 xxx.net
-r--r--r-- 1 root  root   405 Aug 15  2006 localhost.rev
-r--r--r-- 1 root  root   284 Jun 15  2001 make-localhost
-r--r--r-- 1 root  root     0 Apr 30  2006 xxx.com.lock
-rw-r--r-- 1 root  root  2517 Aug  9  2006 named.root
-r--r--r-- 1 root  root     0 Apr 30  2006 xxx.com.lock
-r--r--r-- 1 root  root   397 Aug 12  2002 PROTO.localhost.rev
-rw-r--r-- 1 root  root   698 Apr 24  2007 xxx.com
drwxrwx--- 2 named named 4096 Dec  4 14:17 slaves

I'm guessing that these files need to be owner by at least root/named to begin 
with?

All files in the slave directory are owned by named.named.

Mike




More information about the bind-users mailing list