I'm setting up a new server and I have followed the guide perfectly that I can see. I have trouble when I get to the the chroot part, when i do ln -s ../.. chroot I get ther error ln: `chroot/..': cannot overwrite directory Any suggestions?
Did you run this? Code: cd /var/named/chroot/var/named/ ln -s ../../ chroot If yes, then there's a directory called chroot in /var/named/chroot/var/named/. Please post the output of Code: ls -l /var/named/chroot/var/named/
total 72 lrwxrwxrwx 1 root root 6 Dec 2 18:51 chroot -> ../../ drwxrwx--- 2 named named 4096 Aug 25 2004 data -rw-r--r-- 1 named named 198 Aug 25 2004 localdomain.zone -rw-r--r-- 1 named named 195 Aug 25 2004 localhost.zone -rw-r--r-- 1 named named 415 Aug 25 2004 named.broadcast -rw-r--r-- 1 named named 2518 Aug 25 2004 named.ca -rw-r--r-- 1 named named 432 Aug 25 2004 named.ip6.local -rw-r--r-- 1 named named 433 Aug 25 2004 named.local -rw-r--r-- 1 named named 416 Aug 25 2004 named.zero drwxrwx--- 2 named named 4096 Jul 27 2004 slaves
There's already a symlink from chroot to ../../! This means everything is ok, you can forget about the error.