From owner-freebsd-current@FreeBSD.ORG Sat Jul 16 05:31:28 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 C0EEB16A41C for ; Sat, 16 Jul 2005 05:31:28 +0000 (GMT) (envelope-from julian@elischer.org) Received: from postoffice.vicor-nb.com (postoffice.vicor.com [69.26.56.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AFB343D49 for ; Sat, 16 Jul 2005 05:31:28 +0000 (GMT) (envelope-from julian@elischer.org) Received: from localhost (localhost [127.0.0.1]) by postoffice.vicor-nb.com (Postfix) with ESMTP id C3FE44CE8EA for ; Fri, 15 Jul 2005 22:31:27 -0700 (PDT) Received: from postoffice.vicor-nb.com ([127.0.0.1]) by localhost (postoffice.vicor-nb.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60191-10 for ; Fri, 15 Jul 2005 22:31:27 -0700 (PDT) Received: from bigwoop.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by postoffice.vicor-nb.com (Postfix) with ESMTP id 452E94CE7F2 for ; Fri, 15 Jul 2005 22:31:27 -0700 (PDT) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by bigwoop.vicor-nb.com (Postfix) with ESMTP id 1CD647A403 for ; Fri, 15 Jul 2005 22:31:27 -0700 (PDT) Message-ID: <42D89BAE.2050009@elischer.org> Date: Fri, 15 Jul 2005 22:31:26 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050629 X-Accept-Language: en, hu MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postoffice.vicor.com Subject: 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 05:31:28 -0000 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. I'm just asking that if anyone has plans to make it actually impossible to make static binaries.. don't.... 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?) and libncurses does too so top can't have its own copy. possibly we could kick the revision number on a few of the basic libraries (e.g. neded for top and netstat etc). so that we can run them in jails based around lower revisions of the OS. and what about ld.so and ld_elf.so.1 might it be worth being possible to have one for native binaries and one for binaries that are of the revision that the jail is.. alternatively how about making it possible to have a /compat/FreeBSD4/ like we do for linux. and allow the OS to be able to identify the revision of th ebinary and do path tricks liek we do for linux..?