From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC4FE158020 for ; Thu, 1 Dec 2022 18:09:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E729AE0798; Thu, 1 Dec 2022 18:09:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CAD51E0798 for ; Thu, 1 Dec 2022 18:09:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D984340C7F for ; Thu, 1 Dec 2022 18:09:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98E2D477 for ; Thu, 1 Dec 2022 18:09:40 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1669918061.9f63c1abfa9f97dc06e21565958c13e58b1b76fb.floppym@gentoo> Subject: [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/ X-VCS-Repository: data/gentoo-news X-VCS-Files: 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt X-VCS-Directories: 2022-12-01-systemd-usrmerge/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 9f63c1abfa9f97dc06e21565958c13e58b1b76fb X-VCS-Branch: master Date: Thu, 1 Dec 2022 18:09:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: eb1cb5b0-4295-4320-b768-60725952f15f X-Archives-Hash: 1c6493a6b41a37e1f7a4798d8f874b77 commit: 9f63c1abfa9f97dc06e21565958c13e58b1b76fb Author: Mike Gilbert gentoo org> AuthorDate: Thu Dec 1 18:07:41 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Thu Dec 1 18:07:41 2022 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=9f63c1ab 2022-12-01-systemd-usrmerge: add news item Signed-off-by: Mike Gilbert gentoo.org> .../2022-12-01-systemd-usrmerge.en.txt | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt b/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt new file mode 100644 index 0000000..78f2871 --- /dev/null +++ b/2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt @@ -0,0 +1,38 @@ +Title: /usr merge for systemd users +Author: Mike Gilbert +Posted: 2022-12-01 +Revision: 1 +News-Item-Format 2.0 +Display-If-Installed: sys-apps/systemd + +In the latter half of 2023, systemd will drop support for +split-usr/unmerged-usr systems [1]. All Gentoo systems running systemd +will need to be migrated to merged-usr. + +Migrating to merged-usr will move all data from /bin, /sbin, and /lib +into the /usr/bin and /usr/lib directories. The directories in / are +replaced with symlinks. + +To facilitate this, a new set of sub-profiles has been created, and a +script is available to perform the actual migration. + +To migrate a system to merged-usr, follow this procedure: + +1. Ensure your system backups are up to date. + +2. Install sys-apps/merge-usr. + +3. Run the merge-usr script. The --dryrun option may be used to + check for error conditions before running the script for real. + +4. Switch to a merged-usr profile. + eg. eselect profile set default/linux/amd64/17.1/systemd/merged-usr + +5. Run emerge with the --newuse or --changed-use option to rebuild + any packages that have a "split-usr" USE flag. + eg. emerge -uDN @world + +For new installs, new "mergedusr" stage3 tarballs are being produced for +commonly used profiles. + +[1] https://lists.freedesktop.org/archives/systemd-devel/2022-September/048352.html