Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2005 09:29:34 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: static binaries, jails and compat x
Message-ID:  <20050716132934.GC54497@xor.obsecurity.org>
In-Reply-To: <42D89BAE.2050009@elischer.org>
References:  <42D89BAE.2050009@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--NKoe5XOeduwbEQHU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 15, 2005 at 10:31:26PM -0700, Julian Elischer wrote:
>=20
> Now that we have dynamic binaries everywhere I'm discovering all those=20
> places
> where this breaks..
>=20
> FreeBSD 5 or 6 machine. (needed because freeBSD 4 can't run on the new=20
> 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.
>=20
> 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
>=20
> libkvm.so.2 (maybe we should have changed that.. (maybe we still can for=
=20
> 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
--NKoe5XOeduwbEQHU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFC2Qu9Wry0BWjoQKURAjpPAKDLdpl/7Zeww3LeqY7w1G9fu41C+ACfVakd
w09bxhhrUfPvzs4VIaA7lSY=
=M+yz
-----END PGP SIGNATURE-----

--NKoe5XOeduwbEQHU--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050716132934.GC54497>