Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2003 14:54:55 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Doug Barton <DougB@freebsd.org>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: kern/50807: NFS file locking as client deos not working
Message-ID:  <20030413143620.R5630@gamplex.bde.org>
In-Reply-To: <200304122230.h3CMU9mu009921@freefall.freebsd.org>

index | next in thread | previous in thread | raw e-mail

On Sat, 12 Apr 2003, Doug Barton wrote:

>  > At least for a -current server and client, one or both rpc.lockd and
>  > rpc.statd enabled here on one or both of the client and server.  IIRC,
>  > enabling both on both works but may be more than necessary.  rc.conf.5
>  > is very unclear on the exact servers required.
>
>  rpc.statd(8) is much more clear. :)

I think it is only clear if you don't need to read it to know what it does.

>  Both are required. In -current, using
>  rcNG, you should always get rpc.statd if you ask for rpc.lockd. If that's
>  not happening, we need to fix the scripts, but I'm pretty sure it is
>  actually happening. I'll try to remember to double-check this.

I use -uncurrent and rc_ng="NO" :-).

rc_ng doesn't seem to be any different from rc_og here.  There are
separate knobs for rpc.lockd and rpc.statd, and both rc.network and
rc.d/nfslocking honor the (apparently independent) configured settings
for both.  Neither rc_ng nor rc_og is fully bug-for-bug compatible
with rc.conf.5 which says that these variables are only used for nfs
servers.  The man page was correct before rev.1.143 of rc.network.

Bruce

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030413143620.R5630>