static binaries, jails and compat x
Kris Kennaway
kris at obsecurity.org
Sat Jul 16 13:29:35 GMT 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050716/e0c2ef7a/attachment.bin
More information about the freebsd-current
mailing list