Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 11:48:08 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Joel Hatton <freebsd-questions@auscert.org.au>
Cc:        Jonathan Horne <jhorne@dfwlp.com>, freebsd-questions@freebsd.org
Subject:   Re: Sendmail patch; brings up a questions about buildworld
Message-ID:  <44913AE8.1060405@dial.pipex.com>
In-Reply-To: <200606150056.k5F0ufOh053199@app.auscert.org.au>
References:  <200606150056.k5F0ufOh053199@app.auscert.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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








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