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 B286D158020 for ; Mon, 5 Dec 2022 08:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06BB4E07E6; Mon, 5 Dec 2022 08:42:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DCBACE07E6 for ; Mon, 5 Dec 2022 08:42:49 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E89E934121B for ; Mon, 5 Dec 2022 08:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 29124757 for ; Mon, 5 Dec 2022 08:42:47 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1670229744.e6bd58b5ea5c1ba189359ff10b71b9e64005ca42.sam@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: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e6bd58b5ea5c1ba189359ff10b71b9e64005ca42 X-VCS-Branch: master Date: Mon, 5 Dec 2022 08:42:47 +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: eaac6a79-24b6-4ef4-b175-0de836268870 X-Archives-Hash: 2e801e80fbf2bc96f1392c10957a7c3c commit: e6bd58b5ea5c1ba189359ff10b71b9e64005ca42 Author: Sam James gentoo org> AuthorDate: Mon Dec 5 08:42:24 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Dec 5 08:42:24 2022 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=e6bd58b5 2022-12-01-systemd-usrmerge: note need to use a root shell We don't want people to use 'sudo' and then possibly somehow get locked out if something goes wrong. Better to use a proper root shell. Signed-off-by: Sam James gentoo.org> 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 index 87ec4af..4bf3e05 100644 --- 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 @@ -22,8 +22,9 @@ To migrate a system to merged-usr, follow this procedure: 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. +3. Run the merge-usr script in a root shell (not using 'sudo', as a precautionary + measure). 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