🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #9937

Inetd doesn't find all it's services at boot time

#9937
From: Dan Ehrlich
Date: Fri, 30 Dec 1988 07:17
47 lines
2327 bytes
Machine Type: Sun 4/260S  O/S Version: SunOS 4.0
Organization:   Computer Science Department, The Pennsylvania State University
                333 Whitmore Laboratory, University Park, PA   16802

Description:

Many times when the system is rebooted it seems that inetd can not find
all of the required entries from the services YP map.  This is in spite of
the fact that these entries are present in both /etc/services and the YP
map.  We often see entries like the following in the system log:

	Dec  3 12:19:11 shire inetd[209]: login/tcp: unknown service
	Dec  5 08:12:29 shire inetd[209]: login/tcp: unknown service
	Dec  9 08:14:33 shire inetd[209]: login/tcp: unknown service
	Dec  9 09:54:11 shire inetd[209]: login/tcp: unknown service
	Dec 19 07:47:42 shire inetd[207]: shell/tcp: unknown service
	Dec 19 08:57:45 shire inetd[1335]: daytime/tcp: unknown service

This causes whatever service was not found to be unavailable.  Below are
the entries in the YP services map and the file /etc/services.

	% ypcat -k services | egrep 'login|shell|daytime'
	13/udp daytime		13/udp
	513/tcp login		513/tcp
	514/tcp shell		514/tcp		cmd		# no passwords used
	13/tcp daytime		13/tcp

	% egrep 'login|shell|daytime' /etc/services
	daytime		13/udp
	daytime		13/tcp
	login		513/tcp
	shell		514/tcp		cmd		# no passwords used

Repeat-By:

As the cause is unknown and it doesn't happen every time a procedure by
which to repeat this failure is not known.

Fix:

After the system has finished rebooting, kill off and restart inetd by
hand.  Not a fix, but an unreasonable workaround.

Dan Ehrlich <ehrlich@shire.cs.psu.edu>
The Pennsylvania State University
Department of Computer Science
University Park, PA   16802
Technical Details
Message-ID: <8812191505.AA01852@shire.cs.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cmcl2!yale!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!cmcl2!yale!husc6!rice!sun-spots-request
From: ehrlich@shire.cs.psu.edu (Dan Ehrlich)
Newsgroups: comp.sys.sun
Subject: Inetd doesn't find all it's services at boot time
Message-ID: <8812191505.AA01852@shire.cs.psu.edu>
Date: 30 Dec 88 07:17:57 GMT
Sender: usenet@rice.edu
Organization: STC Technology Limited, London Road, Harlow, Essex, UK
Lines: 47
Approved: Sun-Spots@rice.edu
Original-Date: Mon, 19 Dec 88 10:05:21 EST
X-Sun-Spots-Digest: Volume 7, Issue 79, message 11 of 11