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
It works if I add init=/sbin/openrc-init in grub
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.
Same, had a fun time getting my machine to boot, mount, start enough to "downgrade" to 0.44.10 to permit booting
Please share emerge --info sys-apps/openrc.
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.
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(+)
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(+)