Sendmail patch; brings up a questions about buildworld
Alex Zbyslaw
xfb52 at dial.pipex.com
Thu Jun 15 10:48:12 UTC 2006
Joel Hatton wrote:
>On Wed, 14 Jun 2006 19:15:14 -0500, Jonathan Horne wrote:
>
>
>The phrase "Upgrade your vulnerable system" implies performing the full
>upgrade as per handbook, which means kernel and world.
>
>
No, it doesn't. It means upgrade as much as is necessary to get the
sendmail change installed. You *can* do everything, and that is safe,
but for a small change to just sendmail it is unnecessary.
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#Q21.4.14.1.
The trailing . is part of the URL.
>I would never recommend rebuilding world without kernel, even it appears
>to be without risk, for three extremely good reasons:
>
>
Pointless. When you recompile kernel when nothing has changed, you just
install the same files you already had.
The section of the Handbook about making world is regrettably written in
a section about keeping up to date with STABLE/CURRENT. There, lots of
stuff will change when you cvsup and you should always recompile world,
whenever you recompile kernel. But there is no need to recompile kernel
when you recompile world.
If you only cvsup when you actually intend to upgrade then you can
recompile/reinstall world and kernel completely independently in between.
If, when you cvsup, all you get are the changes to sendmail (because you
track RELEASE regularly, e.g.) then you can just follow the instructions
in the patch section minus the actual patching:
# cd /usr/src/lib/libsm
# make obj && make depend && make
# cd /usr/src/lib/libsmutil
# make obj && make depend && make
# cd /usr/src/usr.sbin/sendmail
# make obj && make depend && make && make install
--Alex
More information about the freebsd-questions
mailing list