ntpd not removed; WITHOUT_NTP enabled in src.conf
rsmith at xs4all.nl
Fri Jan 8 23:32:56 UTC 2010
On Fri, Jan 08, 2010 at 01:38:49PM -0900, Henrik Hudson wrote:
> Hey List,
> Among other things I have in my /etc/src.conf
> which from my understanding should not build ntpd, etc...
> However, after doing:
> make buildworld
> make installworld
> 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 way
to deal with this is to use find(1) to locate binaries and libraries that are
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`.
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20100108/aa69b2de/attachment.pgp
More information about the freebsd-stable