Subject: misc/4879: ipnat fails cause /src/etc/netstart is called before /usr is mounted
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 01/23/1998 21:06:27
>Number:         4879
>Category:       misc
>Synopsis:       ipnat fails cause /src/etc/netstart is called before /usr is mounted
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 23 12:20:00 1998
>Last-Modified:
>Originator:     Thorsten Frueauf
>Organization:
private
	
>Release:        <NetBSD-current source date> NetBSD 1.3B from 22.01.1998
>Environment:
	
System: NetBSD cyberlap 1.3B NetBSD 1.3B (CYBERLAP) #0: Thu Jan 22 21:58:32 MET 1998 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386


>Description:
	
/etc/rc calls /etc/networks before /usr got mounted, but a recent change
introduced the start of ipnat after ipf,  but ipnat resides in /usr/sbin.
Thus ipnat gets not found and not started.

>How-To-Repeat:
	
Enable ipf and ipnat in /etc/rc.conf, reboot the system and wonder why
it does not start ipnat, instead prints "ipnat not found" to the console.

>Fix:
	
There are several possibilities, the simplest would be to move /usr/sbin/ipnat
to /sbin. Another would be to start ipnat from /etc/rc.local. Choose
whatever is appropriate.
>Audit-Trail:
>Unformatted:
ipnat fails cause /src/etc/netstart is called before /usr is mounted