From owner-freebsd-questions@freebsd.org Sun Dec 13 17:47:02 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20F8DA436A0 for ; Sun, 13 Dec 2015 17:47:02 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from iris.ime.usp.br (iris.ime.usp.br [143.107.45.5]) by mx1.freebsd.org (Postfix) with ESMTP id D179A1459 for ; Sun, 13 Dec 2015 17:47:01 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hpmini (unknown [187.65.219.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: schultz@iris.ime.usp.br) by iris.ime.usp.br (Postfix) with ESMTPSA id 426BB2900CF1; Sun, 13 Dec 2015 15:46:52 -0200 (BRST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ime.usp.br; s=mail; t=1450028818; bh=Qe1zjFwNE1RMXCiwVoxEPGZNJgVfHQscxN6QsSl+CUA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cEmWMDgm3QetiHmDKLqZafXAykBsrQQORY1DSk0wybhiOXlyvH7x4RhQT+tpOpD3g rRL7WvdiusbL2BxT1AQcTMv+t6vPdthCESssT/ECKHlOvSSpFJ0yNqMqSwZOJ/r7kF DwJVT7IZ0aTSbmqciuDzz6hNmiGpjnxU+selKufA= Date: Sun, 13 Dec 2015 15:48:39 -0200 From: =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira To: "Herbert J. Skuhra" Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning obsolete files after make installworld Message-ID: <20151213174839.GA871@hpmini> References: <20151205201107.GA19335@hpmini> <20151205204943.GA19890@hpmini> <20151213001435.GA6169@hpmini> <86egeqls9w.wl-h.skuhra@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86egeqls9w.wl-h.skuhra@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on iris.ime.usp.br X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Dec 2015 17:47:02 -0000 Hi, Indeed, I missed the include directive in the last line of ObsoleteFiles.inc. There are a really large number of files that failed to be included there. Now I understand the situation better and will send a problem report. Thank you, Luís Fernando On Sun, Dec 13, 2015 at 08:30:35AM +0100, Herbert J. Skuhra wrote: > On Sun, 13 Dec 2015 01:14:35 +0100, > Luís Fernando Schultz Xavier da Silveira wrote: > > > > Hello, > > > > > Check out the /usr/src/Makefile, particularly the # check-old and the # > > > delete-old sections. I've never found a need to use these, so I really am > > > uncertain how they would be used. But it seems as if they might come into > > > play after a make buildworld but prior to a make installworld. I could be > > > very wrong about that. But if you can track down how to actually use these > > > targets I think it may remedy the problem. > > > > I did use the delete-old functionality. The problem is the files persist > > even after that. > > > > The delete-old command does not seem to take into account software that > > was disabled in /etc/src.conf and needs to be removed. > > It does but there are some options (e.g. WITHOUT_INETD) missing in > /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. > > I think for WITHOUT_INETD the following change is required: > > Index: tools/build/mk/OptionalObsoleteFiles.inc > =================================================================== > --- tools/build/mk/OptionalObsoleteFiles.inc (revision 291770) > +++ tools/build/mk/OptionalObsoleteFiles.inc (working copy) > @@ -2200,6 +2200,13 @@ > OLD_FILES+=rescue/ping6 > .endif > > +.if ${MK_INETD} == no > +OLD_FILES+=etc/inetd.conf > +OLD_FILES+=etc/rc.d/inetd > +OLD_FILES+=usr/sbin/inetd > +OLD_FILES+=usr/share/man/man8/inetd.8.gz > +.endif > + > #.if ${MK_INFO} == no > # to be filled in > #.endif > > -- > Herbert > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >