Bug 130238 - nfs.lockd man page doesn't mention NFSLOCKD option or nfslockd module
Summary: nfs.lockd man page doesn't mention NFSLOCKD option or nfslockd module
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: Normal Affects Some People
Assignee: Dag-Erling Smørgrav
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 17:10 UTC by Vivek Khera
Modified: 2024-05-14 07:00 UTC (History)
6 users (show)

See Also:
des: mfc-stable14+
des: mfc-stable13+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vivek Khera 2009-01-06 17:10:01 UTC
	

I upgraded a system (with a custom kernel) from 6.3-REL to 6.4-REL and on
reboot the nfs.lockd program reported the following warning:

 Can't find or load kernel support for rpc.lockd - using non-kernel
 implementation

The man page doesn't indicate how to correct this problem.

This same issue seems to apply to 7.1-REL also.

Fix: 

Add a note to the rpc.lockd man page recommending to enable the NFSLOCKD
kernel option, or build the nfslockd kernel module.
How-To-Repeat: 	

Build a custom kernel that doesn't build the nfslockd module nor enable the
NFSLOCKD kernel option and run rpc.lockd.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:12 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Chris Davidson 2024-04-06 03:19:16 UTC
I am reading the bug report and request some clarification.

The Redhat releases referenced, are these the NFS client?

The module error for the rpc.lockd was this also coming from the NFS client or the NFS server?
Comment 3 Vick Khera 2024-04-07 00:33:03 UTC
(In reply to Chris Davidson from comment #2)

There is no reference to Redhat anywhere. There is no reference to any NFS client anywhere.

This is solely a request to add some notes to the FreeBSD man page on how to resolve a warning when starting rpc.lockd if the kernel support for it is not available.
Comment 4 Jamie Landeg-Jones 2024-04-07 23:54:06 UTC
(In reply to Chris Davidson from comment #2)

6.3-RELEASE and 6.4-RELEASE :-)

It's a very old PR!
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-05-10 09:24:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=44e72c6e2e6bcfa2cba89afb92fa05f6ac4d5660

commit 44e72c6e2e6bcfa2cba89afb92fa05f6ac4d5660
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-10 09:23:13 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-10 09:23:13 +0000

    Add man page for nfslockd.

    PR:             130238
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D45139

 share/man/man4/Makefile         |  1 +
 share/man/man4/nfslockd.4 (new) | 45 +++++++++++++++++++++++++++++++++++++++++
 usr.sbin/rpc.lockd/lockd.c      |  3 ++-
 usr.sbin/rpc.lockd/rpc.lockd.8  |  5 +++--
 4 files changed, 51 insertions(+), 3 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-05-14 06:59:13 UTC
A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=cd7dc8deefbce5dc3b5aaab611bbee7af6eccf62

commit cd7dc8deefbce5dc3b5aaab611bbee7af6eccf62
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-10 09:23:13 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-14 06:58:40 +0000

    Add man page for nfslockd.

    PR:             130238
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D45139

    (cherry picked from commit 44e72c6e2e6bcfa2cba89afb92fa05f6ac4d5660)

 share/man/man4/Makefile         |  1 +
 share/man/man4/nfslockd.4 (new) | 45 +++++++++++++++++++++++++++++++++++++++++
 usr.sbin/rpc.lockd/lockd.c      |  3 ++-
 usr.sbin/rpc.lockd/rpc.lockd.8  |  5 +++--
 4 files changed, 51 insertions(+), 3 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-05-14 07:00:15 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=7f97e3f47149ee44b06e3877f1bab1834c6a9307

commit 7f97e3f47149ee44b06e3877f1bab1834c6a9307
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-05-10 09:23:13 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-14 06:59:12 +0000

    Add man page for nfslockd.

    PR:             130238
    MFC after:      3 days
    Differential Revision:  https://reviews.freebsd.org/D45139

    (cherry picked from commit 44e72c6e2e6bcfa2cba89afb92fa05f6ac4d5660)

 share/man/man4/Makefile         |  1 +
 share/man/man4/nfslockd.4 (new) | 45 +++++++++++++++++++++++++++++++++++++++++
 usr.sbin/rpc.lockd/lockd.c      |  3 ++-
 usr.sbin/rpc.lockd/rpc.lockd.8  |  5 +++--
 4 files changed, 51 insertions(+), 3 deletions(-)