Re: static binaries, jails and compat x

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 16 Jul 2005 09:29:34 -0400
On Fri, Jul 15, 2005 at 10:31:26PM -0700, Julian Elischer wrote:
> 
> Now that we have dynamic binaries everywhere I'm discovering all those 
> places
> where this breaks..
> 
> FreeBSD 5 or 6 machine. (needed because freeBSD 4 can't run on the new 
> hardware)
> freeBSD 4 jail to run a legacy app.
> ps top and netstat  (and friends) don't work (not surprisingly)
> ps I can get from /rescue
> but top and netstat are only available in dynamic form.
> 
> So I will have to recompile static version myself.

Or just copy in the necessary libs + dynamic linker into /libs in your
jail along with the binaries you are already copying in from the host
(this is what I do).

> I could throw a few 6.x dynalic libraries in the machine but
> for example libkvm has the same number in 4.x as it does in fbsd6
> 
> libkvm.so.2 (maybe we should have changed that.. (maybe we still can for 
> 6.x?)

This probably isn't a true conflict since 4.x binaries won't be able
to run anyway with this library.

> and  libncurses does too
> so top can't have its own copy.

6.x will look in /lib and 4.x will not, so it should again be fine.

Kris
Received on Sat Jul 16 2005 - 11:29:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:39 UTC