[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: named chroot() to directory failed

Tony wrote:

Yes I tried this and got the same result : chroot failed: No such file or directory.
On Sep 4, 2004, at 2:54 AM, Stephan Tesch wrote:

named -t /var/named-delegated -u named -c /var/named-delegated/etc/named.conf

But who is to guard the guards themselves? - Juvenal

Well, as 'man named' says about -t option:
chroot() to directory after processing the command line arguments, but before reading the configuration file.

So, if named chroots itself into /var/named-delegated directory, config file locates in /etc/named.conf

named -t /var/named-delegated -u named -c /etc/named.conf
should do it.


Visit your host, monkey.org