From owner-freebsd-bugs Tue Feb 3 12:20:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26092 for freebsd-bugs-outgoing; Tue, 3 Feb 1998 12:20:04 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26084; Tue, 3 Feb 1998 12:20:02 -0800 (PST) (envelope-from gnats) Received: from hot.ee.lbl.gov (hot.ee.lbl.gov [131.243.1.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA25836 for ; Tue, 3 Feb 1998 12:16:59 -0800 (PST) (envelope-from leres@ee.lbl.gov) Received: by hot.ee.lbl.gov (8.8.8/8.8.5) id MAA16297; Tue, 3 Feb 1998 12:16:58 -0800 (PST) Message-Id: <199802032016.MAA16297@hot.ee.lbl.gov> Date: Tue, 03 Feb 1998 12:16:57 PST From: Craig Leres To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: leres@ee.lbl.gov X-Send-Pr-Version: 3.2 Subject: bin/5635: deprecated usage in nfsd(8) and rc.conf Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-bugs" >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: