Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box
From: Chris Ess (securityfocus_at_cae.tokimi.net)
Date: 03/12/04
- Previous message: Ricardo J. Ulisses Filho: "Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- In reply to: GARCIA CABALLERO Jordi: "Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Next in thread: Joseph Tam: "Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 12 Mar 2004 11:49:35 -0500 (EST) To: GARCIA CABALLERO Jordi <Jordi.GARCIA@oami.eu.int>
Sorry about the cross-posting, but it's in the original message.
On Thu, 11 Mar 2004, GARCIA CABALLERO Jordi wrote:
> Hi,
>
> Chrooting BIND 9.2.2 in a Solaris 8 02/2002 box, I get this weird error when
> running named in the jail:
>
> # /usr/sbin/chroot /export/home/dns /usr/local/sbin/named -u named
>
> What I see from the console
>
> Mar 11 18:26:15 oasv020 named[11788]: /etc/named.conf:16: change directory
> to '/dns/etc' failed: file not found
> Mar 11 18:26:15 oasv020 named[11788]: /etc/named.conf:16: parsing failed
> Mar 11 18:26:15 oasv020 named[11788]: loading configuration: file not found
> Mar 11 18:26:15 oasv020 named[11788]: exiting (due to fatal error)
What's on line 16 of the 'named.conf' file?
If I had to guess, which is all I can do at the moment, I'd say that line
16 of your 'named.conf' is the directory entry in the options block and it
looks like:
directory "/dns/etc";
If this is the case, fix the directory to what it should be in the
chroot'd environment and try again.
Sincerely,
Chris Ess
System Administrator / CDTT (Certified Duct Tape Technician)
- Previous message: Ricardo J. Ulisses Filho: "Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- In reply to: GARCIA CABALLERO Jordi: "Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Next in thread: Joseph Tam: "Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]