[8401] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.3P: /etc/rc

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Mon Oct 14 16:45:06 1991

Date: Mon, 14 Oct 91 16:45:54 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@Athena.MIT.EDU

System name:		du-courage
Type and version:	RTPC-ROMPC 7.3P
Display type:		apa16

What were you trying to do?
	Use my workstation as an NFS server.

What's wrong:
	/etc/rc starts up portmap in the background and then
	immediately starts up rpcd in the background.  Apparently,
	sometimes rpcd tries to register its ports with portmap before
	portmap has finished initializing and failed, because
	subsequent mount requests fail (rpc.mountd does not get
	started) until I kill and restart rpcd.

What should have happened:
	Portmap should be invoked with "/etc/portmap" instead of
	"/etc/portmap &" so that it finishes starting before rpcd is
	started.  Either that, or these four lines:

	echo -n "portmapper..."					>/dev/console
	/etc/portmap &
	echo -n "rpcd..."					>/dev/console
	/etc/rpcd &

	should be changed to:

	echo -n "portmapper...rpcd..."				>/dev/console
	(/etc/portmap; /etc/rpcd) &

Please describe any relevant documentation references:
	/etc/rc.

  jik


home help back first fref pref prev next nref lref last post