From nobody Fri Dec 3 20:28:58 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2EDAF18CD9ED for ; Fri, 3 Dec 2021 20:29:07 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5PYb0hG9z4jNj for ; Fri, 3 Dec 2021 20:29:07 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: by mail-wr1-f48.google.com with SMTP id d9so8145338wrw.4 for ; Fri, 03 Dec 2021 12:29:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CI7zol+B/OY+cLJTuupjVmoSp2mck5c3WYkOSt+hKY0=; b=uxOzMeU67OTIOVpLZ/Jqi0Z3OMoz6U8TzUJF/YABeqqvj4b9EzttqRRKhx+LrCKQZq oGsE/9u9QwBJyBJJvuzOHpUgsSSCYtUtm0IfSR9KYWtHxhQkLMRXHVGoaM6R8QqHTGp1 E9a+8HWHXttG3+a6uBxuPif+UDFFEpq4ECIKDZGFI8q+62f3t/5OT9wMkpX547rbvDkA Bv7dXSzgjp1pI/+aZ0Tbz53dOuZbSEUjWilDfvzOEHOz0TiMz2ccfVPnGyIVLVco1rGq Z/CAAqfzT1do/uA1xG5o3B4PfOLFIuubWqtBQzzhA30TgrSSgNN9Hn5PzURHKvF62pQy f3Rw== X-Gm-Message-State: AOAM5319evXwFG3HmOlQ+IakUzlsStDsEtNX1UkaN6+zXG8aFeAzl8yH TJvcRN9qmOGYG/oZnGybAobj6w== X-Google-Smtp-Source: ABdhPJyYN4ji4mOuD3iNQ208RhmgTEWd3y5Jdtp+6Awf+cmS5/3CL7tpIzQBLofiUWjpszDb5k5bDg== X-Received: by 2002:a5d:4889:: with SMTP id g9mr24503307wrq.455.1638563340125; Fri, 03 Dec 2021 12:29:00 -0800 (PST) Received: from smtpclient.apple (global-5-141.nat-2.net.cam.ac.uk. [131.111.5.141]) by smtp.gmail.com with ESMTPSA id b15sm4819548wri.62.2021.12.03.12.28.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Dec 2021 12:28:59 -0800 (PST) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 0a2bc1aae36b - stable/12 - release: move installworld before installkernel From: Jessica Clarke In-Reply-To: <0ceb1866-07a1-9ba8-8ea4-104329ca7cb8@grosbein.net> Date: Fri, 3 Dec 2021 20:28:58 +0000 Cc: Ed Maste , "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-branches@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <409651DC-C965-4E47-A596-832C8EEB658C@freebsd.org> References: <202112031520.1B3FK0Yh010104@gitrepo.freebsd.org> <0ceb1866-07a1-9ba8-8ea4-104329ca7cb8@grosbein.net> To: Eugene Grosbein X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4J5PYb0hG9z4jNj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 3 Dec 2021, at 20:20, Eugene Grosbein 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 >> AuthorDate: 2021-04-05 17:16:01 +0000 >> Commit: Ed Maste >> 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