From RHEL to CentOS BIND 9
Mark Andrews
Mark_Andrews at isc.org
Wed Dec 5 19:20:10 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 .
"named" does NOT have write permission on /var/named/chroot/var/named.
> 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 begi
> n
> with?
>
> All files in the slave directory are owned by named.named.
>
> Mike
>
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list