Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2003 08:37:20 +0200
From:      Peter Pentchev <roam@ringlet.net>
To:        budsz <budsz@kumprang.or.id>
Cc:        Mike Tancsa <mike@sentex.net>, FreeBSD-Security <freebsd-security@freebsd.org>
Subject:   Re: [security-advisories@freebsd.org: FreeBSD Security   Advisory FreeBSD-SA-02:44.filedesc]
Message-ID:  <20030109063720.GB381@straylight.oblivion.bg>
In-Reply-To: <20030109030551.GB53970@kumprang.or.id>
References:  <004101c2b732$89d59940$0201a8c0@JOS> <20030108162158.GC48296@kumprang.or.id> <004101c2b732$89d59940$0201a8c0@JOS> <5.2.0.9.0.20030108115322.05064cf0@marble.sentex.ca> <20030109030551.GB53970@kumprang.or.id>

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

--WYTEVAkct0FjGQmd
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 09, 2003 at 10:05:51AM +0700, budsz wrote:
> On Wed, Jan 08, 2003 at 12:04:00PM -0500, Mike Tancsa wrote:
> >At 11:39 PM 08/01/2003 +0700, budsz wrote:
> >
> >>Ok, so I'am only recompile kernel and fix that problem.
> >
> >Unless you really know what you are doing, you need to follow the=20
> >procedures outlined in the handbook
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
> >
> >Specifically, you really need to do a buildworld/buildkernel in
> >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>=20
> What!, I thing only recompile kernel after patch/cvsup, no make world rig=
ht?

It depends - sometimes there are changes in the kernel code that affect
interfaces between the kernel and the userland programs.  This is quite
rare, especially in the -stable branch, but it happens - and when it
does happen, a kernel rebuilt without the 'world' would leave you with
a system that does not really do all it should.

Also, there are cases in which the __FreeBSD_version constant, which is
stored in the kernel and exported to userland via the kern.osreldate
sysctl, is used to determine whether the FreeBSD system has some
specific feature.  So-called 'FreeBSD_version bumps' are done when some
important component of the FreeBSD base system changes, and other
components (including ports) need to be made aware of that.  If you
rebuild your kernel across a __FreeBSD_version bump, but your world is
still the old one, such components may erroneously attempt to use the
new features, leading to more failures.

In short, sometimes it is enough to rebuild the kernel, but to be on the
safe side, always go through the procedure described in the
makeworld.html linked to above.

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net	roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
The rest of this sentence is written in Thailand, on

--WYTEVAkct0FjGQmd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+HRig7Ri2jRYZRVMRAit4AKCJHaRGnZLnBHP/n9i1LNQjllFvswCgkCRc
rOXx6P3r4KQiVDLzZmkNZF0=
=sEQn
-----END PGP SIGNATURE-----

--WYTEVAkct0FjGQmd--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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