From owner-freebsd-current@FreeBSD.ORG Mon Nov 24 19:34:03 2003 Return-Path: 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 AA84D16A4CE; Mon, 24 Nov 2003 19:34:03 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDFE443FB1; Mon, 24 Nov 2003 19:34:02 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) hAP3Y1iF076197; Mon, 24 Nov 2003 19:34:01 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id hAP3Y1rV076196; Mon, 24 Nov 2003 19:34:01 -0800 (PST) (envelope-from dillon) Date: Mon, 24 Nov 2003 19:34:01 -0800 (PST) From: Matthew Dillon Message-Id: <200311250334.hAP3Y1rV076196@apollo.backplane.com> To: Scott Long References: <200311250214.hAP2EctT019845@realtime.exit.com> <20031124203005.Y69870@pooker.samsco.home> cc: freebsd-current@freebsd.org cc: Andrew Gallatin cc: Steve Kargl Subject: Re: 40% slowdown with dynamic /bin/sh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 25 Nov 2003 03:34:03 -0000 :> :> :I supported the decision because: :> : :> :1. It has been requested for years :> :2. It benefits PAM and NSS. :> :3. It is easy to revert. :> :> Easy to revert? You are talking about depending on mechanisms for :> authentication and other things that WILL NOT WORK with static binaries :> as they currently stand and, apparently, will not work in the :> future either. Easy to revert? I don't think so. :> :> More like "Lets do away with support for static binaries entirely". :> Because that is precisely what is happening here. : :What the hell are you talking about???? What I am talking about is that if the intent in -CURRENT is to start to depend on things like NSS... and it really does make sense to be able to depend on something like NSS, then it will become less and less feasible to compile programs in a way that cannot use NSS. /bin/sh is an excellent example of this. Why is /bin/sh now dynamic again? Why can't it be static? I'm being retorical, but I think it demonstrates the problem and my point quite succinctly. Regardless of whether you have a dynamic root or a static root, FreeBSD is digging itself into a hole if it cannot use these spiffy new mechanisms with static binaries. -Matt Matthew Dillon