Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2000 17:45:21 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        cam <cam@bsdfr.org>
Cc:        stable@freebsd.org
Subject:   Re: rpc.lockd broken in FreeBSD NFS
Message-ID:  <20001108174521.A16846@student.uu.se>
In-Reply-To: <200011081355.OAA99219@mailhost.esil.univ-mrs.fr>; from cam@bsdfr.org on Wed, Nov 08, 2000 at 02:53:47PM %2B0100
References:  <200011081355.OAA99219@mailhost.esil.univ-mrs.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 08, 2000 at 02:53:47PM +0100, cam wrote:
> hi
> 
> I have to use rpc.lockd on my NFS server (FreeBSD 4.0-STABLE) and I've notice that it is broken with this line in /etc/defaults/rc.conf:
> 
> 113: rpc_lockd_enable="NO"               # Run NFS rpc.lockd (*broken!*) if nfs_server.
> 
> 1/ Why is it broken ? I've search in the archives but I've not found any good answers.

You can't have looked that hard. This question did come up earlier this
year on -questions and it wasn't difficult to find the answer searching
through the list-archives.

Anyway, the answer is that lockd is just a dummy implementation. When the
client requests a lock rpc.lockd will just say "A lock? Sure, here you have
one." without actually locking anything. 

The only reason for running this is when you have semi-broken clients
(usually DOS/Windows based) that insist on getting a lock even though they
don't really need it. Then lockd will make them work. 

> 
> 2/ Can I use it anyway ? Or this will hang my system ?
> 

Yes, you can use it. No it won't hang your system. But it won't do you any
good if you have clients that actually need locking to work.



( I seem to remember somebody saying that there was work in progress
writing a fully functional lockd. Has anything materialized on that
front? (A quick check doesn't show anything in the repository.))


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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