[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using BIND in a chroot enviro?



Martin Maney wrote:

> "Normal" means link against shared libraries.  In that case, the program has
> to be able to access the shared libraries at run time.  In static linking,
> the needed routines are all resolved and copies of everything the program
> needs are placed into its own binary.  Programs that are to be run in
> chroots or that need to work even when the system is mostly broken - the
> program that's going to restore your system from tape after a crash, for
> example - might be statically linked so that they don't rely on the presence
> of shared libraries.
>
> Thanks for this interesting discussion!
>
> --
> Although we may never know with complete certainty the identity
> of the winner of this year's presidential election, the identity
> of the loser is perfectly clear.  It is the nation's confidence
> in the judge as an impartial guardian of the law.
>  - Justice John Paul Stevens, from his dissenting opinion Dec 12, 2000

Thanks for the reply, you nailled off two questions in one response :-D

Now I understand why BIND would crash when I was simply copying the named
binary from the deb package into the chroot tree. The chroot-DNS-Howto was
RedHat orientated, obviously Debians version of BIND needs a little more then
the standard C libraries to function properly!


Stef



Reply to: