From nobody Mon Oct 6 02:03:17 2025 X-Original-To: current@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 4cg2cH2qpJz69Hmt; Mon, 06 Oct 2025 02:03:27 +0000 (UTC) (envelope-from ivy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cg2cH26npz3nkn; Mon, 06 Oct 2025 02:03:27 +0000 (UTC) (envelope-from ivy@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759716207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=5d2uJgAH8uise4eQvgSWDlh2ROhcZmk27dotFQWTtsI=; b=TeFH0o0mF3LKuY4gJ+5x2lQnovFrpgOVS6ZwzGoOywxvK2Ba3ofiKINPrh4cvzFuUqXcYT HxRPEnaMGEe43VR3Csobz93UN9vPN2gGkRxdNUpoKOfHiL6Il0qbGDfXJ1wYkJJv4r9K20 0sLQ8UHvXNl/GjE25N72Brl63TsKS0zvyambKXq4u0gKgS5abX09YJ6SQJ/iljG8zNiiQA O+hJfcILC2kvILRlrfx2GrfZwM7g+S9+wP1ShIt0IS5fbsCnf7SdM1VW0ur0cwJuB8cU5c 42lXuZMVusDUbxWpHmMiB7oCjsggd+okJVBtqCvCvj1hmeyEx9ghR61HhAluQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759716207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=5d2uJgAH8uise4eQvgSWDlh2ROhcZmk27dotFQWTtsI=; b=x2hXT+S7BNo0gZTSKfeM9zwVZGd77g5v8evLsbzhtExKkppr4j6OmnDy+0xOKmkZnxDVtE PKrNzoZBTj1sM/FwW6/MP1Mm1ZIQZqwRAN99XUSrBKJ8H754uoMdAUGyha4B9mJM//zNyw 8OxQsiX/+xC5Vt647MPWxzAJxdhoCHtsIsa1PCYosZvnAEKjRtRrJCeYBaBKy5L8ldVBL2 MdUPvD8amqg3CX3T51vw6g+ZbHRv8dGWP5yo2/QrpK28R7nwLkEyG5E2+eHR3G9YX63+lu BUuovpKMYbCL7gQAKhx/rp2ag/b8PUAl+qA7b1aYn/sGbwKVJb6ug9A9fCrYPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759716207; a=rsa-sha256; cv=none; b=hfwIeaO8Wq3rR0tnjKiyRcPHyS56vV02TEaiPkgQ12Zqp2d0jGQXA2xcioc22xnYAjJv2O ce2ze1HcY8lPdzuITq7Y6J77/xCt6pDAhEP5p1BuVefrjfJBms+rzRcu0aNrUWo9PG9eOk 5hTV5Xv7/UpepoZq2uTsXoL7x9huOJvIFSAx0aXqgJjXIKL+jUlZNVOSaDtdxsNV5yeq2y cfa/3Qmex4o2Hr3n9ClsZ7MR5ho//G/xHdL8tbZOn+HokwyF7v5PB14teeM0rdyVhdIWvN 6n8k+XUTRNYzluSWFvHOGrO4bosS6vwgKbnW3cf3z4oCpsNlWEcDS6QhCQs+rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from amaryllis.le-fay.org (amaryllis.le-fay.org [IPv6:2a00:1098:6b:400::9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: ivy/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4cg2cG5C5LzLH4; Mon, 06 Oct 2025 02:03:26 +0000 (UTC) (envelope-from ivy@freebsd.org) Date: Mon, 6 Oct 2025 03:03:17 +0100 From: Lexi Winter To: stable@freebsd.org, current@freebsd.org Cc: cperciva@freebsd.org Subject: disallowing 'make installworld' with pkgbase Message-ID: Mail-Followup-To: stable@freebsd.org, current@freebsd.org, cperciva@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="E6aI5jKH+dHsJ3L/" Content-Disposition: inline --E6aI5jKH+dHsJ3L/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline hello, in 15.0 we will ship pkgbase as an alternative to the dist sets for base system installation. pkgbase is entirely optional and for at least 15.0, we will continue to support dist set installation with freebsd-update. the traditional source update method, using make buildworld installworld, will be supported indefinitely and there are no plans to remove this even after dist sets and freebsd-update are dropped. however, while both update methods will be supported individually, they cannot be used together, i.e., if you installed the system with pkgbase, you should not attempt to update it using "make installworld" because this will cause the installed system to become out of sync with the pkg(8) database. instead, you have two options: update with "make buildworld packages" and pkg-upgrade(8), or depkgbasify the system and then update using make installworld as usual. either of those options is fully supported, but you have to choose one of them to avoid breaking your system later. (the procedure to "depkgbasify the system" is not entirely clear yet, but we will need something like this at least for 16.0, so there will be some way to do that.) all of this preamble is to be as clear as possible that the review i'm about to link is *not* about removing support for 'make installworld' (we aren't going to do that) and does not prevent you from doing anything you currently do. with that in mind, i would like to land this for 15.0: "Makefile: Don't allow install{world,kernel} with pkgbase" https://reviews.freebsd.org/D52879 the point of this change is to avoid the situation where a user installs 15.0 with pkgbase, then tries to upgrade using 'make installworld' out of habit, not realising that this will break their system. users who are really sure they want to do this still can using DESTDIR=/, and users who don't use pkgbase are completely unaffected by this change. so, if anyone has an objection to this change, please say so. --E6aI5jKH+dHsJ3L/ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaOMjXQAKCRD1nT63mIK/ YCQIAP9JcVjJIL5VSpgcFZrcwpe9QwDz2jOdU9xmab4agjXJdQEAoVUxNL4FyKT/ FOcYWnm102A15JNUePUPr5unsioRugM= =hObl -----END PGP SIGNATURE----- --E6aI5jKH+dHsJ3L/--