From j@uriah.heep.sax.de  Sun Oct  1 14:29:15 1995
Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA01174
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Oct 1995 14:29:13 -0700
Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA01134 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Oct 1995 22:27:53 +0100
Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP
	id WAA00552 for FreeBSD-gnats-submit@freebsd.org; Sun, 1 Oct 1995 22:27:52 +0100
Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id WAA10374; Sun, 1 Oct 1995 22:27:19 +0100
Message-Id: <199510012127.WAA10374@uriah.heep.sax.de>
Date: Sun, 1 Oct 1995 22:27:19 +0100
From: J Wunsch <j@uriah.heep.sax.de>
Reply-To: joerg_wunsch@uriah.heep.sax.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: nfsd without arg's doesn't work
X-Send-Pr-Version: 3.2

>Number:         759
>Category:       bin
>Synopsis:       nfsd without arg's doesn't work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct  1 14:30:01 PDT 1995
>Closed-Date:    Fri Apr 12 23:09:31 PDT 1996
>Last-Modified:  Fri Apr 12 23:10:50 PDT 1996
>Originator:     J Wunsch
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
>Environment:

	2.1-current during the last weeks

>Description:

Simply starting "nfsd" doesn't work, even though the man page suggests
this were compatible with "nfsd -t -u 4":

uriah # rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    945  mountd
    100005    3   udp    945  mountd
    100005    1   tcp    946  mountd
    100005    3   tcp    946  mountd
uriah # nfsd
uriah # rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    945  mountd
    100005    3   udp    945  mountd
    100005    1   tcp    946  mountd
    100005    3   tcp    946  mountd
uriah # killall -9 nfsd

Explicitly specifying arguments works, however:

uriah # nfsd -t -u 4
uriah # rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp    945  mountd
    100005    3   udp    945  mountd
    100005    1   tcp    946  mountd
    100005    3   tcp    946  mountd
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs


>How-To-Repeat:

see above

>Fix:
	
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: scrappy 
State-Changed-When: Fri Apr 12 23:09:31 PDT 1996 
State-Changed-Why:  
added fix so that nfsd defaults to udp if no flags on command 
line 
>Unformatted:
