RE: Problems chrooting BIND 9.2.2 in a Solaris 8 box
From: GARCIA CABALLERO Jordi (Jordi.GARCIA_at_oami.eu.int)
Date: 03/12/04
- Previous message: Adam Morley: "Re: sunscreen and stealth interfaces"
- Maybe in reply to: GARCIA CABALLERO Jordi: "Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "'Norman Lyon'" <yourdog@poboxes.com> Date: Fri, 12 Mar 2004 19:16:26 +0100
Hi Norman,
Effectively, that was the problem.
Thanks for all,
-----Original Message-----
From: Norman Lyon [mailto:yourdog@poboxes.com]
Sent: Friday, 12 March 2004 18:03
To: GARCIA CABALLERO Jordi
Subject: Re: Problems chrooting BIND 9.2.2 in a Solaris 8 box
Quoting GARCIA CABALLERO Jordi <Jordi.GARCIA@oami.eu.int>:
> 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)
>
> It is like chroot command does not work properly since it tries to access
> the /etc chrooted directory that really points to /export/home/dns/etc
> directory.
>
I think you have a typo in your /export/home/dns/etc/named.conf file. I'm
guessing you have '/dns/etc' in it when it should be '/etc', if the
directory
is supposed to be '/export/home/dns/etc'.
Norman
- Previous message: Adam Morley: "Re: sunscreen and stealth interfaces"
- Maybe in reply to: GARCIA CABALLERO Jordi: "Problems chrooting BIND 9.2.2 in a Solaris 8 box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]