From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 12:49:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3789D16A4CE for ; Thu, 8 Apr 2004 12:49:58 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA3C43D31 for ; Thu, 8 Apr 2004 12:49:57 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (db3dd87ab4cae33784c0e21510861d1b@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128])i38JntWh011382; Thu, 8 Apr 2004 14:49:55 -0500 (CDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 871CF5126A; Thu, 8 Apr 2004 12:49:54 -0700 (PDT) Date: Thu, 8 Apr 2004 12:49:54 -0700 From: Kris Kennaway To: Artem Koutchine Message-ID: <20040408194954.GA38664@xor.obsecurity.org> References: <20040407171128.GA74509@xor.obsecurity.org> <001301c41d6e$c701d290$0c00a8c0@artem> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <001301c41d6e$c701d290$0c00a8c0@artem> User-Agent: Mutt/1.4.2.1i cc: "Andy Rozman \(Aleksander\)" cc: freebsd-questions@freebsd.org cc: Kris Kennaway Subject: Re: Install world fails, computer almost unusable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2004 19:49:58 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 08, 2004 at 05:38:27PM +0400, Artem Koutchine wrote: > IMHO the upgrade pricedure is unstable and wrong in either case. >=20 > If you build, install a new kernel and reboot and they make installworld > you may face code dumps because all world is not compatible with the > new kernel. >=20 > if yo build, install a new kernel and install world w/o reboot then > during installworld one program is substituted with a new one which > uses new kernel and make installworld may fail. >=20 > IMHO this thing must be resolved in the future and it would be nice > to do it this way: > 1) build kernel and install it into a buffer > 2) build workld and install it into a buffer > 3) make changes to config files and install new config file into a buffer > 4) reboot > 5) during reboot load shoud check the install buffer and if there is > something in it then copy it into a real working filesystem.=20 >=20 > This way we will abvoid nonmtaching executables and kernel at any > given time. >=20 > What do you think? I think your way just introduces spectacular new ways to screw up your system, but feel free to code up a prototype implementation and show how it works for some of the difficult upgrade cases like 5.1->5.2, 4.x->5.2, etc. Kris --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdaziWry0BWjoQKURAkgOAKCtxSocMmZMtOba7HSkhdaA9W/tpgCgit6r zw5uZAhFieBM6ESlBKvegww= =pGaN -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--