Subject: Re: portmap=no, nfs_{client,server}=yes
To: David Brownlee <abs@mono.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-userlevel
Date: 11/19/1999 14:35:05
On Fri, 19 Nov 1999, David Brownlee wrote:
> > I'd like to set portmap=yes in the start-nfs block, but the problem is
> > that portmap is started before that. Should we bother checking if either
> > of portmap, nfs_client or nfs_server is set, to turn portmap on?
> > 
> 	That sounds reasonable to me.

So:

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

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


 - Hubert

-- 
NetBSD - Better for your uptime than Viagra