From owner-freebsd-current@FreeBSD.ORG Sun Nov 23 19:35:11 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 B13C416A4CE for ; Sun, 23 Nov 2003 19:35:11 -0800 (PST) Received: from sbk-gw.sibnet.ru (sbk-gw.sibnet.ru [217.70.96.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id E041443FD7 for ; Sun, 23 Nov 2003 19:35:01 -0800 (PST) (envelope-from stranger@sberbank.sibnet.ru) Received: from sbk-gw.sibnet.ru (localhost [127.0.0.1]) by sbk-gw.sibnet.ru (8.12.9p2/8.12.9) with ESMTP id hAO3YJoV063158; Mon, 24 Nov 2003 09:34:20 +0600 (NOVT) (envelope-from stranger@sberbank.sibnet.ru) Received: from localhost (stranger@localhost)hAO3Y8im063155; Mon, 24 Nov 2003 09:34:17 +0600 (NOVT) (envelope-from stranger@sberbank.sibnet.ru) X-Authentication-Warning: sbk-gw.sibnet.ru: stranger owned process doing -bs Date: Mon, 24 Nov 2003 09:34:08 +0600 (NOVT) From: "Maxim M. Kazachek" X-X-Sender: stranger@sbk-gw.sibnet.ru To: Duncan Barclay In-Reply-To: <017701c3b21f$f39bf340$43c8a8c0@orac> Message-ID: <20031124092346.F63116@sbk-gw.sibnet.ru> References: <62981.24.0.61.35.1069202574.squirrel@mail.yazzy.org><200311190103.hAJ13Nlg000923@dyson.jdyson.com><20031119015433.GN30485@roark.gnf.org> <3FBC2053.6040208@mindspring.com><20031120022009.GB29530@dan.emsphone.com> <3FBC29EF.3030009@mindspring.com><3FBC50DB.3000002@acm.org> <017701c3b21f$f39bf340$43c8a8c0@orac> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-1.5 required=5.0 tests=BAYES_01 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on sbk-gw.sibnet.ru cc: current@freebsd.org Subject: Re: Unfortunate dynamic linking for everything 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: Mon, 24 Nov 2003 03:35:11 -0000 On Mon, 24 Nov 2003, Duncan Barclay wrote: > >From: "David O'Brien" > >> I'll seriously argue against the 2nd point above. I don't know of a >> SINGLE person that uses /bin/sh as their interactive shell when >> multi-user. Not ONE. Every Bourne shell'ish user I've ever met uses >> Bash, AT&T ksh, pdksh, zsh. > >I don't know anyone that farms lama's, so there cannot be any lama farmers. > >computer$ grep dmlb /etc/passwd >dmlb:*:1166:1166:Duncan Barclay:/home/dmlb:/bin/sh > >Duncan So, imagine, i'm accidentally deleted /bin with your most wanted static sh... And, of course, due to static nature of /bin/sh it was removed from /rescue? Nothing will protect you from shooting in the leg, neither static linking, nor assumption that /lib is OK. MOST people uses /bin/sh only for rc scripts (to be correct, their system uses it). David O'Brien just tried to told, that NOBODY he knows will be REALLY impacted by performance loss, caused due dynamic /bin/sh linking. You will... So, because Duncan Barclay is impacted by performance loss due dynamic /bin/sh linking, ENTIRE FreeBSD community will have troubles (at least with NSS) due to static linking... Sincerely, Maxim M. Kazachek mailto:stranger@sberbank.sibnet.ru mailto:stranger@fpm.ami.nstu.ru