From jkirma@mail.niksula.cs.hut.fi  Fri Jan 20 13:50:29 2006
Return-Path: <jkirma@mail.niksula.cs.hut.fi>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0BFCD16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jan 2006 13:50:21 +0000 (GMT)
	(envelope-from jkirma@mail.niksula.cs.hut.fi)
Received: from twilight.cs.hut.fi (twilight.cs.hut.fi [130.233.40.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8750D43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jan 2006 13:50:20 +0000 (GMT)
	(envelope-from jkirma@mail.niksula.cs.hut.fi)
Received: by twilight.cs.hut.fi (Postfix, from userid 60001)
	id 279792E15; Fri, 20 Jan 2006 15:50:19 +0200 (EET)
Received: from pallo.cs.hut.fi (pallo.cs.hut.fi [130.233.40.133])
	by twilight.cs.hut.fi (Postfix) with ESMTP id CD7332DFE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jan 2006 15:50:18 +0200 (EET)
Received: from pallo.cs.hut.fi (jkirma@localhost [127.0.0.1])
	by pallo.cs.hut.fi (8.13.1/8.13.1) with ESMTP id k0KDoIug048759
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jan 2006 15:50:18 +0200 (EET)
	(envelope-from jkirma@pallo.cs.hut.fi)
Received: (from jkirma@localhost)
	by pallo.cs.hut.fi (8.13.1/8.13.1/Submit) id k0KDoIaY048758;
	Fri, 20 Jan 2006 15:50:18 +0200 (EET)
	(envelope-from jkirma)
Message-Id: <200601201350.k0KDoIaY048758@pallo.cs.hut.fi>
Date: Fri, 20 Jan 2006 15:50:18 +0200 (EET)
From: Jari Kirma <kirma@cs.hut.fi>
Reply-To: Jari Kirma <kirma@cs.hut.fi>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: rpc_statd_enable and rpc_lockd_enable misdocumented in rc.conf(1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         92061
>Category:       docs
>Synopsis:       rpc_statd_enable and rpc_lockd_enable misdocumented in rc.conf(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 14:00:15 GMT 2006
>Closed-Date:    Fri Jan 20 21:13:49 GMT 2006
>Last-Modified:  Fri Jan 20 21:13:49 GMT 2006
>Originator:     Jari Kirma
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Helsinki University of Technology
>Environment:
All supported releases?
At least 6.0 and -CURRENT.
>Description:
rpc.statd and rpc.lockd are required for proper NFS locking support on
FreeBSD client systems. These can be started by adding respective
rpc_statd_enable and rpc_lockd_enable lines to /etc/rc.conf.

The rc.conf(1) manual page states that these options require system to
be an NFS server, but this is not the case. /etc/rc.d/nfslocking requires
either NFS server or NFS client (or nfsd). Also, enabling these options
on NFS client cause the intended effect (working NFS locks).
>How-To-Repeat:
man rc.conf, look for above options.
>Fix:
Replace related descriptions from "and also an NFS server" to
"and also an NFS server or client"
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Jan 20 21:13:23 UTC 2006 
State-Changed-Why:  
A patch is available in docs/86090.  Thanks for the report, though. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=92061 
>Unformatted:
