[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inetd support
| I was trying to move the ircd I'm running over to inetd but every time it starts
| this error gets logged:
| -:- Odd server stuff: "ircd: inetd support is not functional" ()
|
| but I did this exactly as the docs say I should...does anyone have a clue what
| might be causing this.
While developping 2.9, some of the code for inetd support
was commented out by Vesa. Finding this later myself, I
asked him about it, but he couldn't remember why he did
this, but he's feeling was that at some point, the inetd
support had been broken.
So, I made ircd print the error you get and exit immediately
when the -i flag is given.
I never found the time to investigate more, and nobody
seemed to need it..
May be Vesa can explain more, the code he commented out is
in ircd/ircd.c:
/* This cannot be right anymore..
if (bootopt & BOOT_INETD)
{
aClient *tmp;
tmp = make_client(NULL);
tmp->fd = 0;
tmp->flags = FLAGS_LISTEN;
tmp->acpt = tmp;
tmp->from = tmp;
SetMe(tmp);
(void)strcpy(tmp->name, "*");
(void)inetport(tmp, "", "*", 0);
local[0] = tmp;
}
*/
Christophe