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

chroot bind9 issue



Can anybody please help me to solve my probs?


Sarav

--- saravanan ganapathy <sarav_gsa@yahoo.com> wrote:

> Hai,
>   I am new for this list. I would like to configure
> bind9 with chroot on my debian woody. I have
> referred
> lot of links (some are in this list also) and based
> on
> that I have did the configuration. It works fine
> except some issues, when I stop bind9, I am getting
> the following error
> 
> Stopping domain name service: namedrndc: neither
> /etc/bind/rndc.conf nor /etc/bind/rndc.key was found
> 
> I have done the following configuration change in my
> debian 
> 
> # mkdir /var/named
> # cd /var/named
> # mkdir -p dev etc lib usr/sbin var/named var/run   
>  
>       var/cache/bind
> # mv /etc/bind etc/
> # mknod dev/null c 1 3
> # mknod dev/random c 1 8
> # chmod 666 dev/null dev/random
> # chown -R named.named named
> 
> Edited /etc/init.d/sysklogd to include  SYSLOGD="-a
> /var/named/dev/log" 
> 
> Edited /etc/init.d/bind9 to include OPTS="-u named
> -t
> /var/named" 
> 
> # /etc/init.d/sysklogd restart
> # /etc/init.d/bind9 start
> 
> bind is started well without any error. I have also
> verified from the syslog file. 
> 
> But while stopping, the 'rndc' still refers the
> non-chroot path (/etc/bind/named.conf).
> 
> If I do 
>  # cp /var/named/etc/bind/rndc.key
> /etc/bind/rndc.key
> 
> Then the bind stops without any error.
> 
> How to make 'rndc' to refer the new chroot path?
> 
> Regards,
> 
> Sarav
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 		
> _______________________________
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter
> now.
> http://promotions.yahoo.com/goldrush
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 



		
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush



Reply to: