From davidn@unique.blaze.net.au  Fri Oct 11 19:53:47 1996
Received: from unique.blaze.net.au (unique.blaze.net.au [203.17.53.10])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA17733
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 11 Oct 1996 19:53:37 -0700 (PDT)
Received: (from davidn@localhost) by unique.blaze.net.au (8.7.6/8.7.3) id MAA04811; Sat, 12 Oct 1996 12:56:56 +1000 (EST)
Message-Id: <199610120256.MAA04811@unique.blaze.net.au>
Date: Sat, 12 Oct 1996 12:56:56 +1000 (EST)
From: davidn@sdev.blaze.net.au
Reply-To: davidn@blaze.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysctl called in /etc/netstart before /usr mounted with gateway=YES
X-Send-Pr-Version: 3.2

>Number:         1777
>Category:       conf
>Synopsis:       sysctl called in /etc/netstart before /usr mounted with gateway=YES
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 11 20:00:01 PDT 1996
>Closed-Date:    Tue May 19 23:15:00 PDT 1998
>Last-Modified:  Tue May 19 23:15:10 PDT 1998
>Originator:     David Nugent - davidn@blaze.net.au
>Release:        FreeBSD 2.2-961004-SNAP i386
>Organization:
Unique Computing, Melbourne, Australia
>Environment:

	/usr mounted via nfs

>Description:

	sysctl is used in /etc/netstart to enable ip forwarding,
	but since it exists in the /usr partition, it may not be
	present at before /usr has been mounted, if /usr is
	mounted over nfs.

>How-To-Repeat:

	/usr mounted via nfs
	Enable gateway=YES in /etc/sysconfig

>Fix:
	
	1) sysctl needs to be moved to /sbin and compiled -static
	2) enabling ip forwarding should be delayed until after
	   nfs mounts have been completed.

>Release-Note:
>Audit-Trail:

From: Peter Wemm <peter@spinner.DIALix.COM>
To: davidn@blaze.net.au
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/1777: sysctl called in /etc/netstart before /usr mounted 
 with gateway=YES
Date: Sat, 12 Oct 1996 11:57:58 +0800

 davidn@sdev.blaze.net.au wrote:
 > 	1) sysctl needs to be moved to /sbin and compiled -static
 > 	2) enabling ip forwarding should be delayed until after
 > 	   nfs mounts have been completed.
 
 I've also been running it in /sbin myself for other reasons for quite some 
 time.  In particular for the SMP kernel where it's damn handy to be able 
 to boot cpu's in single user mode with / mounted read-only where the risk 
 of a crash and stray write is minimised (it's still vulnerable as it's 
 filesystem protection only, but it's better than nothing).
 
 I think this was talked about before, I think..  I don't remember the 
 outcome.
 
 Cheers,
 -Peter
 
 

From: Poul-Henning Kamp <phk@critter.freebsd.dk>
To: Nick Hilliard <nick@iol.ie>
Cc: nick@foobar.org, freebsd-bugs@FreeBSD.ORG,
        freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: bin/1777
Date: Fri, 08 May 1998 22:29:01 +0200

 In message <199805082015.VAA26769@beckett.earlsfort.iol.ie>, Nick Hilliard writes:
 >> same as 1777
 >
 >Hmm, so it is.
 >
 >Is it likely to be moved into /sbin some time in the future?
 
 Now that is indeed a good question.  I think the attempt to do so
 kind of lost momentum last time because FUD, but maybe if we kindly
 tell our CVS-meister that now three people have opened PRs on this
 he will be willing to do the repostitory surgery needed ?
 
 --
 Poul-Henning Kamp             FreeBSD coreteam member
 phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
 "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Tue May 19 23:15:00 PDT 1998 
State-Changed-Why:  
fixed in current 
>Unformatted:
