Under baselayout-1 initscripts could explicitly call svc_start/svc_stop to manipulate themselves. These functions don't appear to exist in openrc/baselayout-2 yet several initscripts still use them.
I'm opening this as a probe/tracker. This seems to be something that needs fixing (either by restoring the functionality, or removing/updating the initscripts). If it's deemed a legit bug, I'll open extra bugs to detail the specific initscripts that I know of.
Additionally, is there any good documentation on what functions/variables an initscript has access to and how to structure them? I found  and , but there aren't any gooey details in there. I did finally find bug 348724, comment 5, but that's only part of the solution.
What packages need updating?
So far I've found iptables, acct and fail2ban. There may be more. I've got patches for those three cooking right now.
Ah, yes. Those define a custom restart() function. Bug 348724 is the documentation bug but this one could be for issues in the tree. I suggest opening new bugs for those packages (but remember to search first).
Another resource for making scripts openrc compatible is man runscript.
This packages too:
Created attachment 294101 [details]
old init script
doesn't seem to have a proper init script. I was using $attached,
but that stopped working with the new openrc system.
(In reply to comment #6)
that has never been a valid Gentoo init script