From nobody  Sat Nov 15 13:02:57 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id NAA03523;
          Sat, 15 Nov 1997 13:02:57 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199711152102.NAA03523@hub.freebsd.org>
Date: Sat, 15 Nov 1997 13:02:57 -0800 (PST)
From: cau@cs.arizona.edu
To: freebsd-gnats-submit@freebsd.org
Subject: mountd, nfsd, etc. fail when lp0 defined in rc.conf
X-Send-Pr-Version: www-1.0

>Number:         5059
>Category:       kern
>Synopsis:       mountd, nfsd, etc. fail when lp0 defined in rc.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 15 13:10:00 PST 1997
>Closed-Date:    Sat May 12 16:32:30 PDT 2001
>Last-Modified:  Sat May 12 16:33:13 PDT 2001
>Originator:     Carlos Ugarte
>Release:        2.2.2-RELEASE
>Organization:
>Environment:
Something similar to
FreeBSD zot 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0:
Sat Nov 15 12:01:19 MST 1997  root@zot:/usr/src/sys/compile/ZOT  i386
>Description:
Using a desktop to install FreeBSD to a laptop through PLIP.  Added
lp0 to network_interfaces in /etc/rc.conf (the other interfaces were
lo0, tun0; ep0 installed but not in use (no IP addr defined for it)).
Added ifconfig_lp0 line.  Set nfs_server_enable="YES" in rc.conf.

On next reboot, lp0 configured properly, but mountd fails on startup
(rc.network) with "Can't register mount", and nfsd fails with
"Can't register with udp portmap".  Pretty sure that rpc.statd does not
get started either (something else reported "Cannot register service:
RPC: Unable to send; errno = No route to host"; plus more errors).

>How-To-Repeat:
Make sure lp0 is initialized before mountd & the rest of the NFS procs
are started.  Problem happens on bootup, and even if lp0 and NFS stuff
not initialized automatically (so if I ifconfig lp0 and start mountd,
nfsd, etc. manually I still get the error messages).
>Fix:
Start the NFS procs before lp0 is ifconfig'd.
ifconfig lp0 blah blah

Then everything works; can even see and mount NFS volumes from
the laptop over PLIP.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: peter 
Responsible-Changed-When: Sat Apr 25 22:38:07 PDT 1998 
Responsible-Changed-Why:  
I'll take a look at this.. 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Wed Mar 28 12:57:15 PST 2001 
State-Changed-Why:  
Is this still a problem with more recent releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=5059 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sat May 12 16:32:30 PDT 2001 
State-Changed-Why:  

Feedback timeout. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=5059 
>Unformatted:
