RE: Chrooting Bind 9 issue

This is a discussion on RE: Chrooting Bind 9 issue within the Bind Users forums, part of the DNS and Related Forums category; The problem is that the -c option which lists the path to the config file should be relative your chroot ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-27-2004
Smith, William E.
 
Posts: n/a
Default RE: Chrooting Bind 9 issue

The problem is that the -c option which lists the path to the config file
should be relative your chroot directory. Get rid of /var/chroot and make
it -c /etc/named.conf and that should address the problem. Also make sure
the directory option in named.conf is only listed as /etc as well.

- Bill

-----Original Message-----
From: M Alan C [mailto:my00sc00by@yahoo.com]
Sent: Thursday, May 27, 2004 8:25 AM
To: bind-users@isc.org
Subject: Chrooting Bind 9 issue

I am running this:

/var/chroot/sbin/named -u resolver -t /var/chroot -c
/var/chroot/etc/named.conf

and I am still getting this:

May 27 12:21:50 nameserver named[414]: [ID 873579 daemon.error] none:0:
open: /var/chroot/etc/named.conf: file not found May 27 12:21:50 nameserver
named[414]: [ID 873579 daemon.crit] loading configuration: file not found
May 27 12:21:50 nameserver named[414]: [ID 873579 daemon.crit] exiting (due
to fatal error) my permissions are set to this:

-rwxr-xr-- 1 resolver named 3277 May 25 06:09 named.conf
-rwxr-xr-- 1 resolver named 247 May 24 12:35 rndc.conf

why is this not working?

how can I fix this?



Mark "Hamzter" C
kd5zmg


---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:54 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0