public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/
@ 2022-12-01 18:09 Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2022-12-01 18:09 UTC (permalink / raw
  To: gentoo-commits

commit:     9f63c1abfa9f97dc06e21565958c13e58b1b76fb
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 18:07:41 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> 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 <floppym <AT> 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 <floppym@gentoo.org>
+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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/
@ 2022-12-01 20:29 Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2022-12-01 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     b333b4666182bd4dbfe37df6d3b8010d39d8fded
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  1 20:28:45 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Dec  1 20:28:45 2022 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=b333b466

2022-12-01-systemd-usrmerge: add missing colon

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt | 4 ++--
 1 file changed, 2 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 78f2871..87ec4af 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
@@ -1,8 +1,8 @@
 Title: /usr merge for systemd users
 Author: Mike Gilbert <floppym@gentoo.org>
 Posted: 2022-12-01
-Revision: 1
-News-Item-Format 2.0
+Revision: 2
+News-Item-Format: 2.0
 Display-If-Installed: sys-apps/systemd
 
 In the latter half of 2023, systemd will drop support for


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/
@ 2022-12-05  8:42 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-12-05  8:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e6bd58b5ea5c1ba189359ff10b71b9e64005ca42
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  5 08:42:24 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/
@ 2022-12-08 16:55 Mike Gilbert
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Gilbert @ 2022-12-08 16:55 UTC (permalink / raw
  To: gentoo-commits

commit:     5d869a12d47362055873f519a82313c6f40fdbdb
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  8 16:44:33 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu Dec  8 16:54:42 2022 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=5d869a12

2022-12-01-systemd-usrmerge: rework steps based on feedback

Bug: https://bugs.gentoo.org/884655
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../2022-12-01-systemd-usrmerge.en.txt                  | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 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 4bf3e05..be1870c 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
@@ -1,7 +1,7 @@
 Title: /usr merge for systemd users
 Author: Mike Gilbert <floppym@gentoo.org>
 Posted: 2022-12-01
-Revision: 2
+Revision: 3
 News-Item-Format: 2.0
 Display-If-Installed: sys-apps/systemd
 
@@ -22,14 +22,19 @@ To migrate a system to merged-usr, follow this procedure:
 
 2. Install sys-apps/merge-usr.
 
-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.
+3. Run "merge-usr --dryrun" as root to check for conflicts. These will
+   appear with the word ERROR at the start of the line.
 
-4. Switch to a merged-usr profile.
+4. Resolve any conflicts. This may involve deleting duplicate files. If
+   in doubt, seek support in a Gentoo support channel.
+
+5. Run the merge-usr script from a root shell. Avoid running it via sudo
+   directly to avoid locking yourself out if an unexpected error occurs.
+
+6. 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
+7. Run emerge with the --newuse or --changed-use option to rebuild
    any packages that have a "split-usr" USE flag.
      eg. emerge -uDN @world
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/
@ 2023-02-06 15:50 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-02-06 15:50 UTC (permalink / raw
  To: gentoo-commits

commit:     af0db5eca18febcc06540d230c960a5e6ed127a3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  6 15:50:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  6 15:50:33 2023 +0000
URL:        https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=af0db5ec

2022-12-01-systemd-usrmerge: suggest system be up to date first

This makes life a lot easier with debugging potential issues.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 2022-12-01-systemd-usrmerge/2022-12-01-systemd-usrmerge.en.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 be1870c..c851d3c 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
@@ -18,7 +18,8 @@ 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.
+1. Ensure your system backups are up to date. Please also update
+   your system fully and depclean before proceeding.
 
 2. Install sys-apps/merge-usr.
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-06 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06 15:50 [gentoo-commits] data/gentoo-news:master commit in: 2022-12-01-systemd-usrmerge/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-12-08 16:55 Mike Gilbert
2022-12-05  8:42 Sam James
2022-12-01 20:29 Mike Gilbert
2022-12-01 18:09 Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox