Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 09:53:09 -0700 (PDT)
From:      wayne@staff.msen.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   bin/11236: mountd fails to properly check for kernel-level NFS
Message-ID:  <19990420165309.42ACB14C81@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         11236
>Category:       bin
>Synopsis:       mountd fails to properly check for kernel-level NFS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 20 10:00:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Michael R. Wayne
>Release:        3.1 STABLE
>Organization:
Msen, Inc.
>Environment:
FreeBSD twi1.msen.net 3.1-STABLE FreeBSD 3.1-STABLE #1: Tue Apr 13 00:09:05 GMT 1999
wayne@twi1.msen.net:/usr/src/sys/compile/MSEN  i386

>Description:
mountd appears unable to properly detect an nfs-free kernel.  If the 
config file contains the line:

options         NFS_NOSERVER            # Disable the NFS-server code

mountd runs happily until the first client atttempts to mount an
exported filesystem.  It then logs the message:

Apr 20 10:36:28 twi1 /kernel: pid 1322 (mountd), uid 0: exited on signal 12 (cor
e dumped)

dying at the getfh call:

#0  0x804f5a0 in getfh ()
#1  0x80487e4 in mntsrv (rqstp=0xefbfdb44, transp=0x8091000) at mountd.c:453
#2  0x80506de in svc_getreqset2 ()
#3  0x804b871 in svc_run ()
#4  0x80484f9 in main (argc=2, argv=0xefbfdc1c) at mountd.c:351
#5  0x80480e9 in _start ()

Building a new kernel with the above mentioned line commented out permits
NFS mounts to suceed


>How-To-Repeat:
Build a kernel with option NFS_NOSERVER defined, export a file system to a
remote machine, mount the filesystem.
>Fix:
mountd's check for kernel-level NFS needs updating.

>Release-Note:
>Audit-Trail:
>Unformatted:


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




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