bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-inetutils] Inet Utils Not Working ? Please Advice


From: Alain Magloire
Subject: Re: [bug-inetutils] Inet Utils Not Working ? Please Advice
Date: Wed, 18 May 2005 11:42:14 -0400 (EDT)

> 
> That is kinda a bug, you can't run any of the deamons like that; you
> need to start them from inetd.  telnetd and friends should spit out
> something more helpful than just a exit status of 1 in this and all
> similar cases; not sure how to do that sanely...
> 
> Anyone got any ideas?
> 

I think ftpd has a mode --deamon when it can be launch
without inetd.

Not sure about telnet/rlogind etc ...

But if you want to be more user friendly ... you
could do something like isatty(3) on the stdio and
fail with a gracefull message.... will not catch pipes 8-( 

Or when the getpeername(3) fails with ENOTSOCK
spit out a message about using the --daemon or running
with inetd.

--
alain





reply via email to

[Prev in Thread] Current Thread [Next in Thread]