RE: Problems chrooting BIND 9.2.2 in a Solaris 8 box
GARCIA CABALLERO Jordi <[email protected]> Fri, 12 Mar 2004 19:16:26 +0100
| Newsgroups | gmane.comp.security.sun,gmane.comp.security.basics |
|---|---|
| Message-ID | <[email protected]> |
Hi Norman, Effectively, that was the problem. Thanks for all, -----Original Message----- From: Norman Lyon [mailto:[email protected]] 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 <[email protected]>: > 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