HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   FC4 Perfect Setup - chroot (http://www.howtoforge.com/forums/showthread.php?t=1515)

Ice 2nd December 2005 23:25

FC4 Perfect Setup - chroot
 
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?

falko 3rd December 2005 02:24

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/

Ice 3rd December 2005 23:16

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

falko 4th December 2005 00:33

There's already a symlink from chroot to ../../! This means everything is ok, you can forget about the error. :)

Ice 4th December 2005 00:38

Heh, I'm a linux noob, forgive me. Thanks for the help.


All times are GMT +2. The time now is 10:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.