From owner-freebsd-stable@FreeBSD.ORG Fri Jan 8 23:32:56 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 332DB1065670 for ; Fri, 8 Jan 2010 23:32:56 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by mx1.freebsd.org (Postfix) with ESMTP id A3F008FC0C for ; Fri, 8 Jan 2010 23:32:55 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id o08NWrl5027223; Sat, 9 Jan 2010 00:32:53 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 42B39BAA6; Sat, 9 Jan 2010 00:32:53 +0100 (CET) Date: Sat, 9 Jan 2010 00:32:53 +0100 From: Roland Smith To: Henrik Hudson Message-ID: <20100108233253.GA42429@slackbox.xs4all.nl> References: <20100108223848.GA6287@alucard.int.rhavenn.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <20100108223848.GA6287@alucard.int.rhavenn.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: ntpd not removed; WITHOUT_NTP enabled in src.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 23:32:56 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 08, 2010 at 01:38:49PM -0900, Henrik Hudson wrote: > Hey List, >=20 > Among other things I have in my /etc/src.conf > WITHOUT_NTP=3Dyes >=20 > which from my understanding should not build ntpd, etc... >=20 > However, after doing: > make buildworld =2E.. > make installworld =2E.. > ntpd still exists in /usr/sbin and the man pages, etc... seem to > still be hanging around. Did I miss something? Adding options to `/etc/src.conf` does not remove old binaries, libraries or manpages! It just prevents the system from building newer ones. The best w= ay to deal with this is to use find(1) to locate binaries and libraries that a= re older than the most recent installworld. It might be a good idea to make a backup first, in case you screw up the system! Now, supposing the latest installworld (with the new options in `/etc/src.conf`) was December 3rd. Running the following command will reveal all older files; find /bin -type f -and -not -newermt 'Dec 3' -ls After checking that you've *really* only found old binaries, replace `-ls` with `-delete` to remove them. Next, repeat this for the directories `/sbin= `, `/usr/bin`, `/usr/sbin`, `/lib`, `/libexec`, `/usr/lib`, `/usr/libexec`, `/usr/share/man/man*` and `/rescue`. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktHwKUACgkQEnfvsMMhpyXU4gCgoLUyjNb3Rm/5iBM45OqSpmuP hmQAnjdEkteenbpg38XB/xE6AVV9cKHi =UPrf -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO--