Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 00:32:53 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Henrik Hudson <lists@rhavenn.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ntpd not removed; WITHOUT_NTP enabled in src.conf
Message-ID:  <20100108233253.GA42429@slackbox.xs4all.nl>
In-Reply-To: <20100108223848.GA6287@alucard.int.rhavenn.net>
References:  <20100108223848.GA6287@alucard.int.rhavenn.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100108233253.GA42429>