Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927776 - sys-apps/openrc-0.53: binary package only works with merged-usr installations
Summary: sys-apps/openrc-0.53: binary package only works with merged-usr installations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
: 928065 (view as bug list)
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2024-03-25 10:16 UTC by Gabriele Svelto
Modified: 2024-03-28 17:17 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Svelto 2024-03-25 10:16:26 UTC
I migrated my installation from the `default/linux/amd64/17.1/desktop` profile to the `default/linux/amd64/23.0/split-usr/desktop` profile, following the instructions available here: https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html using binary packages available from https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3/

After the upgrade the profile refused to boot, as the OpenRC main executable had been moved from `/sbin/openrc` to `/usr/sbin/openrc`.

Inspecting the contents of the actual package reveals that it appears to be built for a merged-usr profile only. Rebuilding the package from source fixed the problem.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-25 10:21:44 UTC
Do you know what was referring to /sbin/openrc on your system?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-25 10:22:26 UTC
Ah, sorry, ignore me. I get it.
Comment 3 Stephan Litterst 2024-03-25 18:22:19 UTC
I ran into the same problem. :-/
Now I have a kernel not finding openrc.
Any ideas (or links) how to start the machine and then building openrc as mentioned in this ticket?
Comment 4 Ondrej Caletka 2024-03-25 18:25:10 UTC
(In reply to Stephan Litterst from comment #3)
> I ran into the same problem. :-/
> Now I have a kernel not finding openrc.
> Any ideas (or links) how to start the machine and then building openrc as
> mentioned in this ticket?

I ran to the same issue today as well. I resolved it by creating symlinks from /sbin/openrc* to /usr/sbin/openrc. It was enough to rebuild openrc.
Comment 5 Stephan Litterst 2024-03-25 19:24:33 UTC
Thanks a lot for pointing to that!
Details:
- login as root (I thought that is not possible at that moment...)
- remount / as rw
- creating symlink as mentioned
- reboot
Comment 6 Larry the Git Cow gentoo-dev 2024-03-25 22:24:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa00d8549a4fca28809f26a2e0384a6ea94873c

commit 5fa00d8549a4fca28809f26a2e0384a6ea94873c
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2024-03-25 22:23:33 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2024-03-25 22:23:53 +0000

    sys-apps/openrc: add 0.53.1
    
    Closes: https://bugs.gentoo.org/927776
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-apps/openrc/Manifest             |   1 +
 sys-apps/openrc/openrc-0.53.1.ebuild | 165 +++++++++++++++++++++++++++++++++++
 2 files changed, 166 insertions(+)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-28 17:17:52 UTC
*** Bug 928065 has been marked as a duplicate of this bug. ***