Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2021 20:28:58 +0000
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Eugene Grosbein <eugen@grosbein.net>
Cc:        Ed Maste <emaste@FreeBSD.org>, "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-branches@freebsd.org" <dev-commits-src-branches@FreeBSD.org>
Subject:   Re: git: 0a2bc1aae36b - stable/12 - release: move installworld before installkernel
Message-ID:  <409651DC-C965-4E47-A596-832C8EEB658C@freebsd.org>
In-Reply-To: <0ceb1866-07a1-9ba8-8ea4-104329ca7cb8@grosbein.net>
References:  <202112031520.1B3FK0Yh010104@gitrepo.freebsd.org> <0ceb1866-07a1-9ba8-8ea4-104329ca7cb8@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 Dec 2021, at 20:20, Eugene Grosbein <eugen@grosbein.net> wrote:
>=20
> 03.12.2021 22:20, Ed Maste wrote:
>=20
>> The branch stable/12 has been updated by emaste:
>>=20
>> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D0a2bc1aae36b44b2c9e16684bc6270b8=
a82943e2
>>=20
>> commit 0a2bc1aae36b44b2c9e16684bc6270b8a82943e2
>> Author:     Ed Maste <emaste@FreeBSD.org>
>> AuthorDate: 2021-04-05 17:16:01 +0000
>> Commit:     Ed Maste <emaste@FreeBSD.org>
>> CommitDate: 2021-12-03 15:19:09 +0000
>>=20
>>    release: move installworld before installkernel
>>=20
>>    To support -DNO_ROOT work.  The top-level installworld target =
creates a
>>    new METALOG starting with `#mtree 2.0` so it needs to be first, to =
avoid
>>    overwriting installkernel METALOG entries.
>>=20
>>    Reviewed by:    gjb
>>    MFC after:      1 month
>>    Sponsored by:   The FreeBSD Foundation
>>    Differential Revision:  https://reviews.freebsd.org/D29582
>=20
> The need to run installworld before installkernel makes remote major =
upgrade less reliable:
> in case of unexpected reboot in process a system ends up with new =
binaries that may require new system calls
> and old kernel. This is bad.
>=20
> Is it possible to enhance install* targets so they do not overwrite =
what needs to be kept intact
> to restore ability to install new kernel first?

This is only for generating release images, hence the release: prefix
and the fact it=E2=80=99s in release/. It has no bearing on the sequence =
used
to update a running system.

Jess




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?409651DC-C965-4E47-A596-832C8EEB658C>