Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587424

Summary: sys-apps/sysvinit-2.88-r9 inittab is incompatible with <sys-apps/openrc-0.13
Product: Gentoo Linux Reporter: pavel sanda <ps>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description pavel sanda 2016-06-28 17:01:20 UTC
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
Comment 1 Mike Gilbert gentoo-dev 2016-06-28 18:34:36 UTC
I would suggest adding this to RDEPEND in sysvinit:

!<sys-apps/openrc-0.13
Comment 2 William Hubbs gentoo-dev 2016-06-28 18:47:21 UTC
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.
Comment 3 SpanKY gentoo-dev 2016-06-28 22:19:57 UTC
(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.
Comment 4 pavel sanda 2016-06-29 03:45:47 UTC
(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.
Comment 5 Larry the Git Cow gentoo-dev 2022-03-29 05:31:32 UTC
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(+)