Install world fails, computer almost unusable

Kris Kennaway kris at obsecurity.org
Thu Apr 8 12:49:58 PDT 2004


On Thu, Apr 08, 2004 at 05:38:27PM +0400, Artem Koutchine wrote:
> IMHO the upgrade pricedure is unstable and wrong in either case.
> 
> 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.
> 
> 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.
> 
> 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. 
> 
> This way we will abvoid nonmtaching executables and kernel at any
> given time.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040408/89315a7e/attachment.bin


More information about the freebsd-questions mailing list