Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenRC : split-usr or merged-usr ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 157

PostPosted: Thu Apr 18, 2024 9:06 am    Post subject: OpenRC : split-usr or merged-usr ? Reply with quote

Hello,
I have all my Gentoo with OpenRC.
With 23.0 profile i switched on the split-usr of course.
The "standard" profile looks like, for OpenRC, merged-usr.

Can i keep the split-usr all the time or in next months/years OpenRC must migrate to merged-usr and split-usr won't be supported ?
_________________
Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course :) (proxmox, virtualbox)
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1395
Location: Germany

PostPosted: Thu Apr 18, 2024 10:50 am    Post subject: Reply with quote

I'm not sure how long a future profile will take, so until then you are safe.

I think on the long run a merged usr will be the default. It is an old movement which simplifies some stuff.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21660

PostPosted: Thu Apr 18, 2024 3:02 pm    Post subject: Reply with quote

I have not seen any announcement indicating that split-usr will be removed from openrc. Therefore, as with all projects, it will be supported until the people who work on the project choose not to support it anymore. That will most likely be when supporting it becomes too much trouble relative to the value that they gain from that support. We have already seen early cases of things breaking due to merged-usr assumptions, so I would not be surprised if additional upstream projects over time begin assuming "All the world is merged-usr" (even if almost none of it is VAX) and break on a split-usr setup. If too many of those break, the developers supporting split-usr might give up and abandon it. Absent specific statements from the relevant developers, I choose not to worry yet. There will always be the chance to migrate later, if that becomes necessary. The migration procedure for merged-usr looks fairly easy, so I don't expect to find myself stuck with no path forward, even if merged-usr becomes mandatory.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54276
Location: 56N 3W

PostPosted: Thu Apr 18, 2024 4:40 pm    Post subject: Reply with quote

I think open-rc split-user days are numbered.
The 23.0/split-user profiles exist but there are no split-user stage 3 tarballs to download.

We need the inverse of
Code:
* sys-apps/merge-usr
     Available versions:  6 {PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Homepage:            https://github.com/floppym/merge-usr
     Description:         Script to migrate from split-usr to merged-usr


I found a Nov-23 17.1 stage3 for a new install a week or so ago, as I don't want a mix and couldn't face writing sys-apps/split-usr :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1669

PostPosted: Thu Apr 18, 2024 4:56 pm    Post subject: Reply with quote

NeddySeagoon wrote:
I think open-rc split-user days are numbered.
The 23.0/split-user profiles exist but there are no split-user stage 3 tarballs to download.

There still is an amd64 split-usr stage3 under the advanced section. However, this is the only one currently being produced.
Others could be produced if there was demand. I'm sure anyone could create them using catalyst with minor modifications to the Gentoo recipes for alternate arches.

Edit: seems arm64 also has split-usr
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4186
Location: Bavaria

PostPosted: Fri Apr 19, 2024 8:55 am    Post subject: Re: OpenRC : split-usr or merged-usr ? Reply with quote

Adrien.D wrote:
[...] Can i keep the split-usr all the time or in next months/years OpenRC must migrate to merged-usr and split-usr won't be supported ?

All people who have /usr on an extra partition cannot switch to merged-usr unless other requirements are met (-> https://wiki.gentoo.org/wiki/Early_Userspace_Mounting ). However, if /usr is a normal directory in your root partition, there is no reason not to migrate to merged-usr. I also have an OpenRC system and migrated to merged-usr the day after I switched to 23.0 profiles: https://wiki.gentoo.org/wiki/Merge-usr =>
Code:
# emerge -uNDv @world
# emerge -1v merge-usr
# merge-usr --dryrun
# merge-usr
# eselect profile set X
# emerge -uNDv @world

(-> 17 packages updated)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Adrien.D
Apprentice
Apprentice


Joined: 18 Jan 2015
Posts: 157

PostPosted: Fri Apr 19, 2024 10:01 am    Post subject: Reply with quote

OK, so the best thing to do is migrate to merged-usr with OpenRC (profile without "split-usr") when i have the time. (i don't have /usr on specific part)

No stress when the split-usr will be unsupported (when it will be..)

But indeed, i didn't see official news about that, but see "split-usr" explicit in the profile name trough me, maybe, will be unsupported soon :)
_________________
Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course :) (proxmox, virtualbox)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum