Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850754 - sys-apps/openrc-0.45 fails to start because /sbin/init symlink to /sbin/openrc-init missing
Summary: sys-apps/openrc-0.45 fails to start because /sbin/init symlink to /sbin/openr...
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: PMASKED
Depends on:
Blocks:
 
Reported: 2022-06-09 14:49 UTC by jospezial
Modified: 2022-06-10 15:56 UTC (History)
3 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 jospezial 2022-06-09 14:49:18 UTC
My system fails to start init if the symlink to /sbin/openrc-init is missing.
It drops me to sh. Where are the init alternatives set if not in grub boot line?

openrc-0.44.10:
/sbin
/sbin/halt -> /lib/rc/bin/halt
/sbin/init -> /sbin/openrc-init
/sbin/openrc
/sbin/openrc-init
/sbin/openrc-run
/sbin/openrc-shutdown
/sbin/poweroff -> /lib/rc/bin/poweroff
/sbin/rc
/sbin/rc-service
/sbin/rc-sstat -> /lib/rc/bin/rc-sstat
/sbin/rc-update
/sbin/reboot -> /lib/rc/bin/reboot
/sbin/runscript
/sbin/shutdown -> /lib/rc/bin/shutdown
/sbin/start-stop-daemon
/sbin/supervise-daemon

sys-apps/openrc-0.45 symlinks are missing:
/sbin
/sbin/halt
/sbin/openrc
/sbin/openrc-init
/sbin/openrc-run
/sbin/openrc-shutdown
/sbin/poweroff
/sbin/rc
/sbin/rc-service
/sbin/rc-sstat
/sbin/rc-update
/sbin/reboot
/sbin/runscript
/sbin/shutdown
/sbin/start-stop-daemon
/sbin/supervise-daemon
Comment 1 jospezial 2022-06-09 14:54:50 UTC
It works if I add
init=/sbin/openrc-init
in grub
Comment 2 sunsetsergal 2022-06-09 21:11:49 UTC
This happened to me too, the /sbin/init symlink disappeared after updating to this version and I had to add "init=/sbin/openrc-init" to my boot options to boot and replace the symlink.
Comment 3 jon R-B 2022-06-09 22:27:17 UTC
Same, had a fun time getting my machine to boot, mount, start enough to "downgrade" to 0.44.10 to permit booting
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 01:02:39 UTC
Please share emerge --info sys-apps/openrc.
Comment 5 William Hubbs gentoo-dev 2022-06-10 01:33:32 UTC
I have identified the problem. This may be a big hammer for it, but I am
going to mask this version.

The issue is that if you have the sysvinit use flag turned on some
symlinks are not created.

I will fix in 0.45.1.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 01:39:01 UTC
From 6abc5f1cbc62837a328f43999b743e443586a14d Mon Sep 17 00:00:00 2001
From: William Hubbs <williamh@gentoo.org>
Date: Thu, 9 Jun 2022 20:34:09 -0500
Subject: package.mask: mask openrc 0.45 due to broken sysvinit use flag

Signed-off-by: William Hubbs <williamh@gentoo.org>
---
 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-06-10 15:56:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c8f83cf4bc5aff995e7fe763a38cf38970869ba

commit 1c8f83cf4bc5aff995e7fe763a38cf38970869ba
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-06-10 15:55:58 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-06-10 15:56:27 +0000

    sys-apps/openrc: drop 0.45
    
    Closes: https://bugs.gentoo.org/850754
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-apps/openrc/Manifest           |   1 -
 sys-apps/openrc/openrc-0.45.ebuild | 164 -------------------------------------
 2 files changed, 165 deletions(-)

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

commit ea2910be5dbae28b337f43a2430e3c2fbad5bc99
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-06-10 15:54:36 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-06-10 15:56:26 +0000

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

 sys-apps/openrc/Manifest             |   1 +
 sys-apps/openrc/openrc-0.45.1.ebuild | 164 +++++++++++++++++++++++++++++++++++
 2 files changed, 165 insertions(+)