On several Solaris 7 and 8 systems I am observing inetd processes that
are spawning other inetd processes.
Why is that?
Why is that?
Something's screwed up.Quote:> Why is that?
I'd worry about the inetd.conf, then I'd worry about binaries and
patches.
--
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Multiple inetd processes are a feature of a number of securityQuote:> On several Solaris 7 and 8 systems I am observing inetd processes that
> are spawning other inetd processes.
Of course, inetd will fork just before execing a spawned command,
but you wouldn't normally notice the duplicate inetd for the
very short period it exists before it exec's.
--
Andrew Gabriel
I have seen it occasionally when the process to be exec'ed is on a down
NFS server - but you should be able to truss and see if it's* in
exec or somewhere else.
--
________________________________________________________________________
Working for, but definitely not speaking for, Sun Microsystems, Inc.
Try "telnet localhost echo" and see if this causes a new inetd child
process to be spawned. When you exit "telnet" it should disappear.
--
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
1. Q inetd/sockets: how to run my daemon from inetd???
Hi all,
I wrote this really insignificant program that listens on a port and
writes a fortune message down the socket, and now I want to run it from
inetd. So I made entries in /etc/inetd.conf and /etc/services and it
doesn't work.
The problem is I guess that I my daemon creates a socket and listen on
it, then accepts connections, does its thing and exits. However, inetd
is listening on that port and execl()'s my fortuned which then finds
the socket in use already and dies on a failed bind.
So how can I make it so that it knows which file descriptors it gets
from inetd? Or, should I rather have it run in the background and
fork() to serve every connection without ever exiting?
Bo.
--
"Heisenberg may have been here".
2. Bootstrap Error on Install Attempt (NEWBIE)
3. Restart inetd or reboot without using console...when inetd is dead
5. troubles with inetd / inetd.conf
6. Unix Virus's
7. multiple ip's - multiple inetd's?
8. Probleme carte graphique SIS 6215 C
10. programming daemons spawned by inetd
11. Wanted: puts/gets for inetd spawned program.
12. inetd spawns copies of itself