Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 1998 12:16:57 PST
From:      Craig Leres <leres@ee.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Cc:        leres@ee.lbl.gov
Subject:   bin/5635: deprecated usage in nfsd(8) and rc.conf
Message-ID:  <199802032016.MAA16297@hot.ee.lbl.gov>

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

>Number:         5635
>Category:       bin
>Synopsis:       deprecated usage in nfsd(8) and rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  3 12:20:02 PST 1998
>Last-Modified:
>Originator:     Craig Leres
>Organization:
Lawrence Berkeley National Laboratory
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:


>Description:

	The example in the nfsd(8) man page is missing the -n flag.
	The default rc.conf is also missing the -n flag.

>How-To-Repeat:

	Nfsd(8) says:

	    For example, ``nfsd -u -t 6'' serves UDP and TCP transports
	    using six daemons.
	
	And src/etc/rc.conf says:

	    nfs_server_flags="-u -t 4"      # Flags to nfsd (if enabled).

>Fix:

RCS file: RCS/nfsd.8,v
retrieving revision 1.1
diff -c -r1.1 nfsd.8
*** /tmp/,RCSt1000473	Tue Feb  3 00:16:04 1998
--- nfsd.8	Tue Feb  3 00:14:32 1998
***************
*** 82,88 ****
  .El
  .Pp
  For example, 
! .Dq Li "nfsd -u -t 6"
  serves
  .Tn UDP
  and
--- 82,88 ----
  .El
  .Pp
  For example, 
! .Dq Li "nfsd -u -t -n 6"
  serves
  .Tn UDP
  and

RCS file: RCS/rc.conf,v
retrieving revision 1.1
diff -c -r1.1 rc.conf
*** /tmp/,RCSt1000478	Tue Feb  3 00:16:15 1998
--- rc.conf	Tue Feb  3 00:14:35 1998
***************
*** 49,55 ****
  nfs_client_enable="NO"		# This host is an NFS client (or NO).
  nfs_client_flags="-n 4"		# Flags to nfsiod (if enabled).
  nfs_server_enable="NO"		# This host is an NFS server (or NO).
! nfs_server_flags="-u -t 4"	# Flags to nfsd (if enabled).
  mountd_flags="-r"		# Flags to mountd (if NFS server enabled).
  nfs_reserved_port_only="NO"	# Provide NFS only on secure port (or NO).
  rpc_lockd_enable="NO"		# Run NFS rpc.lockd (*broken!*) if nfs_server.
--- 49,55 ----
  nfs_client_enable="NO"		# This host is an NFS client (or NO).
  nfs_client_flags="-n 4"		# Flags to nfsiod (if enabled).
  nfs_server_enable="NO"		# This host is an NFS server (or NO).
! nfs_server_flags="-u -t -n 4"	# Flags to nfsd (if enabled).
  mountd_flags="-r"		# Flags to mountd (if NFS server enabled).
  nfs_reserved_port_only="NO"	# Provide NFS only on secure port (or NO).
  rpc_lockd_enable="NO"		# Run NFS rpc.lockd (*broken!*) if nfs_server.
>Audit-Trail:
>Unformatted:



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