From owner-freebsd-current@FreeBSD.ORG Sat Jul 16 13:29:35 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC27716A41C for ; Sat, 16 Jul 2005 13:29:35 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5627843D45 for ; Sat, 16 Jul 2005 13:29:35 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 94CF9513EA; Sat, 16 Jul 2005 09:29:34 -0400 (EDT) Date: Sat, 16 Jul 2005 09:29:34 -0400 From: Kris Kennaway To: Julian Elischer Message-ID: <20050716132934.GC54497@xor.obsecurity.org> References: <42D89BAE.2050009@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NKoe5XOeduwbEQHU" Content-Disposition: inline In-Reply-To: <42D89BAE.2050009@elischer.org> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Current Subject: Re: static binaries, jails and compat x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 13:29:35 -0000 --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--