From owner-freebsd-questions@FreeBSD.ORG Wed Nov 29 22:21:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C87A316A40F for ; Wed, 29 Nov 2006 22:21:33 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5031443CA2 for ; Wed, 29 Nov 2006 22:21:13 +0000 (GMT) (envelope-from illoai@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so2878549nfc for ; Wed, 29 Nov 2006 14:21:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D2z7k2nKs6jKMTN5BgVC34aQ3SeRLpPemuVGnOzHzzYsBQtdIz7TKtRvBtyRTA1xGDdOy2izQQhdxWJDeUqOG3SNw0UmKuPJ+liDMMnCR4FA1148CGh3Xvre48KRwYM3tHXc4+nsQJWZl3IarNhEPxnLdiQTGekJR97YWxtmtWM= Received: by 10.82.127.15 with SMTP id z15mr699512buc.1164838875666; Wed, 29 Nov 2006 14:21:15 -0800 (PST) Received: by 10.82.175.1 with HTTP; Wed, 29 Nov 2006 14:21:15 -0800 (PST) Message-ID: Date: Wed, 29 Nov 2006 16:21:15 -0600 From: "illoai@gmail.com" To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: el.nadow@gmail.com Subject: Re: Removing "modules" from the Userland X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 22:21:33 -0000 On 11/29/06, Nadow wrote: > Hi! I installed the 6.2-RC1 version but now I have decided to remove > the profiled libraries and I know that for that purpose I have to add > the line "NO_PROFILE=" to the make.conf before the "make world" > action. > > My doubt is if I reinstall or upgrade the Userland without this option > or anyone (let's say Kerberos, Sendmail.. etc) that I have already > installed, these options are going to be removed, or simply are not > going to be upgraded and/or reinstalled again. Assuming I have read you correctly, when you put NO_PROFILE= NO_SENDMAIL= et al into you /etc/make.conf that buildworld (and by extension installworld) skip over these, leaving the old versions untouched. For example, as I have many of those set in /etc/make.conf ls -l /usr/sbin gives me in part: -r-xr-xr-x 1 root wheel 35884 Nov 21 22:25 mtree -r-xr-xr-x 2 root wheel 1359316 Feb 1 2006 named -r-xr-xr-x 1 root wheel 1060104 Feb 1 2006 named-checkconf -r-xr-xr-x 1 root wheel 1011336 Feb 1 2006 named-checkzone -r-xr-xr-x 2 root wheel 1738 Feb 1 2006 named.reconfig -r-xr-xr-x 2 root wheel 1738 Feb 1 2006 named.reload -r-xr-xr-x 1 root wheel 6688 Nov 21 22:26 ndis_events Where you can see that, although I have rebuilt world as of 21 Nov, since I have NO_BIND= set, the /usr/sbin/named* has not been touched since 01 Feb. I suppose they could be deleted, but AFIK the buildworld/installworld cycle will not do this for you. On the other hand, if you are not cramped for space they do (generally) no harm. On the gripping hand, a malicious user might be able to start up and then exploit known bugs in those services, so you may be better off either upgrading to known good versions or deleting them. -- --