Re: Problems with chrooting bind 9.2.0
On Wed, Feb 13, 2002 at 11:12:36PM +0100, Marcus Frings wrote:
> Wednesday, February 13, 2002, 9:16:48 PM, Reagan Blundell wrote:
>
> > Feb 13 17:04:40 iridium named[1525]: none:0: open: /etc/bind/rndc.key: \
> > file not found
> > Its looking for the rndc.key file in /etc/bind/ which would be
> > /chroot/named/etc/bind
> > You have it in /chroot/named/etc - hence it can't find it.
>
> Well, I tried 3 ways:
>
> 1) copying it back to the real /etc/bind
This will not work, because named can't see the real /etc/bind
when it's chrooted.
> 2) copying it to /chroot/named/etc/bind
i.e. /chroot/named/etc/bind is a directory containing the file
rndc.key?
This should work. What do the logs look like now?
> 3) using symbolic links from the chroot jail to /etc/bind
This won't work for the same reason as 1.
--
Michael Wood <mwood@its.uct.ac.za>
Reply to: