/etc/inetd is sensitive to ordering of lines in /etc/inetd.conf

Arnold D. Robbins arnold at emoryu2.cc.emory.edu
Tue Mar 21 15:39:30 AEST 1989


- workstation model and serial number
	Sun 4/280,	# 824E0970
- your name
	Arnold Robbins
- electronic mail address (sendmail doesn't always get it right)
	arnold at emoryu1.cc.emory.edu
- company or organization name & address
	Emory University Computing Center
	Uppergate House
	Emory University
	Atlanta, Georgia 30322
- Sun software release number (e.g., 1.4, 2.0).
	SunOS 4.0
- Any information which may help us diagnose your problem,

Inetd is sensitive to the order of entries in /etc/inetd.conf. In
particualar, putting a non-rpc or non-internal type of entry in the file
after the rpc or internal entries does not work. If the new entry is after
the rpc entries, the portmapper and NFS fail.  If it is after the internal
entries, then the new entry does not work.

We discovered this while trying to implement the 4.3 BSD version of talk.
We used this line:

  ntalk	dgram	udp	wait	root	/usr/local/etc/in.ntalkd in.ntalkd

It must come before the internal and RPC entries in inetd.conf for talk to
work at all.

This behavior is very non-intuitive, to say the least!

Thanks,

Arnold Robbins -- Emory University Computing Center
DOMAIN: arnold at unix.cc.emory.edu
UUCP: gatech!emoryu1!arnold  PHONE: +1 404 727-7636
BITNET: arnold at emoryu1	     FAX:   +1 404 727-2599



More information about the Comp.sys.sun mailing list