During bootup anope may start before the unrealircd/whatever that it needs to connect to, resulting in failure. Suggested solution is to have the init script depend on the ircd Reproducible: Always
What if the ircd is on another system? Maybe a conf.d variable could help here...
Is it even possible for conf.d variables to affect initscript dependencies? For the time being I hand edited it.
I had to edit init script too. May I suggest to use "use ircd"? It would be better than "need ircd" in case of ircd being on another system like Jeroen said. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 Easy and fest fix for this issue IMHO.
(In reply to El Goretto from comment #3) > I had to edit init script too. > May I suggest to use "use ircd"? It would be better than "need ircd" in case > of ircd being on another system like Jeroen said. > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4 > > Easy and fest fix for this issue IMHO. Any news on this?
Created attachment 411110 [details, diff] patch to initscript for anope This makes the initscript wait for the ircd before starting anope. I don't know if it will fail if the ircd isn't running, I'm not an expert in initscripts.
It is fixed in -r2, it has "use ircd" added to the depend() function. That way, if it is not installed, it will still work (if "after" is used, it will not run if the ircd is not on the same machine)