Subject: Re: portmap=no, nfs_{client,server}=yes
To: None <hubert.feyrer@informatik.fh-regensburg.de>
From: David Brownlee <abs@mono.org>
List: tech-userlevel
Date: 11/19/1999 15:55:00
On Fri, 19 Nov 1999, Hubert Feyrer wrote:

> diff -u -r1.136 rc
> --- rc  1999/11/15 20:04:50     1.136
> +++ rc  1999/11/19 13:33:21
> @@ -262,7 +262,7 @@
>  echo -n 'starting rpc daemons:'
>  
>  # note that portmap is generally required for all other rpc services.
> -if checkyesno portmap; then
> +if checkyesno portmap || checkyesno nfs_client || checkyesno nfs_server;
> then
>         echo -n ' portmap';             portmap $portmap_flags
>  fi
> 

	I'd prefer a block ealier that went something along the lines of:

if checkyesno amd || checkyesno bootparamd || checkyesno nfs_client || \
	checkyesno nfs_server || checkyesno ypbind || checkyesno ypserver || \
	checkyesno yppasswdd;
then
        logger -s "WARNING: amd, bootparam, nfs, and yp require portmap - enabling"
	portmap=YES
fi

> Are there other services that would need to be added here?
> ypbind, ypserv, yppasswdd?

	I'm not sure yppasswdd makes sense without ypserv, but I believe
	amd and bootparamd also need it.