named and chroot

Bill Larson wllarso at swcp.com
Fri Sep 18 19:21:13 UTC 2009


Barry Margolin <barmar at alum.mit.edu> said:

> In article <mailman.530.1253296794.14796.bind-users at lists.isc.org>,
>  kalpesh varyani <kalpesh.link at gmail.com> wrote:
> 
> > Hi All,
> > 
> > I am running "named" in chroot() ENV. I am  seeing below errors on PA-
risc
> > system.
> > 
> > 
> > =========================================================
> >  Warning: crypto library not found, DNSSEC functionality not available
> >  libcrypto :Exec format error.
> > =======================================================
> > 
> > 
> > I am not seeing above errors on IA-itenium system ,when I am 
running "named"
> > in chroot() ENV.
> > 
> > Could any one please tell me what is wrong here, why I am seeing errors 
on
> > PA not IA system?
> 
> Use "ldd" on the named binary to see what libraries it depends on, and 
> make sure all of them are in <chroot>/usr/lib.

Or, start named with the "-t" option and specify the path to your chroot 
environment and you won't have this problem either.  "named" can create  
it's own chroot environment without you having to build it yourself.

Bill Larson




More information about the bind-users mailing list