emerge just updated sysvinit for me (2.88-r7 -> 2.88-r9). for unrelated reasons i have and will continue to have old openrc 0.12.4. after the update. etc-update wanted to replace in /etc/inittab all lines having /sbin/rc to /sbin/openrc although on my system only /sbin/rc exists. fortuntately i caught that before rebooting and downgraded sysvinit back, but it might save someones life if sysvinit either test on existence /sbin/openrc and loudly scream or to have dep on newer openrc versions. (i know it's not your bussiness to care about old openrc installs, but possible boot crash seems way too high punishment for people who need older versions.) Reproducible: Always
I would suggest adding this to RDEPEND in sysvinit: !<sys-apps/openrc-0.13
That version of openrc is over a year old, so I would prefer to know the reason you are keeping it rather than trying to backport to support it so we can see if you can upgrade. You should also be aware that all gentoo services have switched their shebang lines from #!/sbin/runscript to #!/sbin/openrc-run, which will not work with old openrc versions.
(In reply to William Hubbs from comment #2) there should still be a blocker in sysvinit. deploying the blocker to all packages might be overkill, but doing it to a few core ones (like sysvinit) should be sufficient.
(In reply to William Hubbs from comment #2) > That version of openrc is over a year old, so I would prefer to know the > reason you are keeping it rather than trying to backport to support it > so we can see if you can upgrade. I understand your point, but there is really no help. My hardware is too old and some parts of my system have to be kept blocked from updates. IIRC openrc killed udev and network, but this is just chain reaction stemming from the fact that I need to keep some of my X drivers around the year 2009 ;) As said I solved my problem, but putting the dep on such core package can save someone else neck. > You should also be aware that all gentoo services have switched their > shebang lines from #!/sbin/runscript to #!/sbin/openrc-run, which will not > work with old openrc versions. Thanks for the heads up.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5b8088a99e684eac64e0b1606f8648bc1ab7d21 commit f5b8088a99e684eac64e0b1606f8648bc1ab7d21 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-29 05:31:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-29 05:31:23 +0000 sys-apps/sysvinit: keep old OpenRC blocker It's cheap, so why not, I guess. But can't really be expected to do stuff like this forever as nobody will be testing with it. Closes: https://bugs.gentoo.org/587424 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/sysvinit/{sysvinit-3.02.ebuild => sysvinit-3.02-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+)