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. Reproducible: Always 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 [1] and [2], 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. [1] http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4 [2] http://devmanual.gentoo.org/tasks-reference/init-scripts/index.html
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: app-crypt/mit-krb5 net-fs/nfs-utils net-misc/stunnel net-misc/tigervnc
Created attachment 294101 [details] old init script net-dns/djbdns 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