From owner-freebsd-current@FreeBSD.ORG Mon Sep 1 03:18:20 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 03B6416A4BF; Mon, 1 Sep 2003 03:18:20 -0700 (PDT) Received: from mailout10.sul.t-online.com (mailout10.sul.t-online.com [194.25.134.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A811243FF7; Mon, 1 Sep 2003 03:18:18 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd02.aul.t-online.de by mailout10.sul.t-online.com with smtp id 19tllJ-0005me-0D; Mon, 01 Sep 2003 12:18:17 +0200 Received: from Andro-Beta.Leidinger.net (r11+LqZY8eis64nTD9DKvnQpsUhMBP6WbAgC8jJf7hqQcJ-Nxc2ccs@[80.131.127.144]) by fmrl02.sul.t-online.com with esmtp id 19tllG-1twKXo0; Mon, 1 Sep 2003 12:18:14 +0200 Received: from Magelan.Leidinger.net (Magelan [192.168.1.1]) h81AJEOu003831; Mon, 1 Sep 2003 12:19:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magelan.Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.12.9/8.12.9) with SMTP id h81AJv7D001035; Mon, 1 Sep 2003 12:19:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Mon, 1 Sep 2003 12:19:57 +0200 From: Alexander Leidinger To: Doug Barton Message-Id: <20030901121957.349c9268.Alexander@Leidinger.net> In-Reply-To: <20030831145808.M68829@znfgre.qbhto.arg> References: <20030831203149.10589d5c.Alexander@Leidinger.net> <20030831145808.M68829@znfgre.qbhto.arg> X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: r11+LqZY8eis64nTD9DKvnQpsUhMBP6WbAgC8jJf7hqQcJ-Nxc2ccs@t-dialin.net cc: current@freebsd.org Subject: Re: automated clean up of /usr/lib because of /lib 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, 01 Sep 2003 10:18:20 -0000 On Sun, 31 Aug 2003 15:02:21 -0700 (PDT) Doug Barton wrote: > There was a discussion of this recently, and the conclusion was more or > less that doing this in an automated fashion is frought with danger, > since you don't know for sure what else besides system components the > user has put in the various directories. > > I've been using the following combination of a bash function (that could > just as easily be its own script) and a script I call > after_installworld. [script which does the right thing] > This combination keeps things squeaky clean for me. Yes, it does it for you (and for everyone else who does the right thing), but I've seen abuse of your system directories to many times, so this would perhaps screw some of our users. So I don't think we should add something like you do or something like David does into installworld. My snipped just looks if there are libs in /usr/lib which also are in /lib and removes them from /usr/lib. That's one specific thing we know we have to do now. I don't insist of adding it to installworld, but we should at least add something into UPDATING which tells the user to clean up his /usr/lib after we added /lib (and my snipped automates this). Bye, Alexander. -- Secret hacker rule #11: hackers read manuals. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7