Date: Thu, 8 Apr 2004 12:49:54 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Artem Koutchine <matrix@itlegion.ru> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Install world fails, computer almost unusable Message-ID: <20040408194954.GA38664@xor.obsecurity.org> In-Reply-To: <001301c41d6e$c701d290$0c00a8c0@artem> References: <hvsu02.reqtnt@webmail.triera.net> <20040407171128.GA74509@xor.obsecurity.org> <001301c41d6e$c701d290$0c00a8c0@artem>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040408194954.GA38664>