From owner-freebsd-current@FreeBSD.ORG Wed Jul 27 10:05:46 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 15DAC16A41F; Wed, 27 Jul 2005 10:05:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33C1443D49; Wed, 27 Jul 2005 10:05:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd22.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1DxinH-0002C3-02; Wed, 27 Jul 2005 12:05:43 +0200 Received: from Andro-Beta.Leidinger.net (SsYpV2ZBgeZVXqeKf0lP65oRUU4fF+qWYv28SjBsyelHe3xFS9C9cZ@[84.165.204.126]) by fwd22.sul.t-online.de with esmtp id 1DxinF-0v3eC00; Wed, 27 Jul 2005 12:05:41 +0200 Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j6RA5caJ033526; Wed, 27 Jul 2005 12:05:38 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Wed, 27 Jul 2005 12:05:38 +0200 Message-ID: <20050727120538.sw4jxcurk4g0wg00@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 27 Jul 2005 12:05:38 +0200 From: Alexander Leidinger To: Doug Barton References: <200507231942.j6NJgdks037508@repoman.freebsd.org> <42E2A029.1090404@gmail.com> <42E2DA50.2000205@FreeBSD.org> <20050724011629.GK14567@elvis.mu.org> <20050724094522.GL14567@elvis.mu.org> <20050725195258.GD9620@cirb503493.alcatel.com.au> <20050726115812.X31388@ync.qbhto.arg> In-Reply-To: <20050726115812.X31388@ync.qbhto.arg> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: SsYpV2ZBgeZVXqeKf0lP65oRUU4fF+qWYv28SjBsyelHe3xFS9C9cZ@t-dialin.net X-TOI-MSGID: e91b3bba-f2e9-4d81-99f2-fd844f5bf74e Cc: Peter Jeremy , freebsd-current@freebsd.org Subject: Re: Cleaning stale files from the base (Was: Re: cvs commit: src ObsoleteFiles.inc) 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: Wed, 27 Jul 2005 10:05:46 -0000 Doug Barton wrote: > I use the script that I posted at > http://people.freebsd.org/~dougb/after_installworld for this. > > Some desirable additions to that script might be a list of files to > ignore (such as perl symlinks in /usr/bin), and an option to delete > the file outright, but this is a good proof of concept for what I > have in mind. [...] > So like I said, this isn't perfect, but as a POC it's a good place to start. One of the design goals of the recently committed way of removing obsolete files was to *not* remove a file which we never had in the base system (I'm not sure I mentioned this in the commit log). So if an administrator decides to move something to somewhere in the base system (for whatever reason), it will stay where it is (and this is good, since this move was done with a specific purpose). Your approach works on your system where you know what you're doing, but in an environment with more than one administrator and where no FreeBSD guru takes care about the systems it may result in a lot of frustation. Obviously in this case someone did something wrong, but if we officially go this route I would say we are doing something wrong (we're violating POLA then). So whoever implements such an automatic list generation should make sure he DTRT. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 104: fork(2) New processes are created by other processes, just like new humans. New humans are created by other humans, of course, not by processes. (Unix System Administration Handbook)