[Pkg-sysvinit-devel] Why do we fall back to trying /sbin/portmap?

Petter Reinholdtsen pere at hungry.com
Thu Jan 12 08:24:31 UTC 2006


[Miquel van Smoorenburg]
> Yes, you do need it for that. Clients need to run rpc.rstatd so that
> the rpc.lockd on the server can check to see if a client is still
> alive, or has rebooted, in order to potentially invalidate any stale
> locks.  Ofcourse rpc.rstatd needs to register with the portmapper.

This all sounds sensible until I discovered that neither statd nor
lockd is started until later in the process (in init.d/nfs-common),
started after portmap in runlevel 2.  If we need to start portmap, we
also need to start nfs-common, I believe.  And I believe we can run
just fine without both until we start programs after rcS.d/ is done
executing.



More information about the Pkg-sysvinit-devel mailing list