From jonny@jonny.eng.br  Tue Aug  4 15:37:29 1998
Received: from roma.coe.ufrj.br (roma.coe.ufrj.br [146.164.53.65])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09161
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 4 Aug 1998 15:37:20 -0700 (PDT)
          (envelope-from jonny@jonny.eng.br)
Received: (from jonny@localhost)
	by roma.coe.ufrj.br (8.8.8/8.8.8) id TAA11224;
	Tue, 4 Aug 1998 19:37:07 -0300 (EST)
	(envelope-from jonny)
Message-Id: <199808042237.TAA11224@roma.coe.ufrj.br>
Date: Tue, 4 Aug 1998 19:37:07 -0300 (EST)
From: Joao Carlos Mendes Luis <jonny@jonny.eng.br>
Reply-To: jonny@jonny.eng.br
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysinstall messing with rc.conf
X-Send-Pr-Version: 3.2

>Number:         7493
>Category:       bin
>Synopsis:       sysinstall changes router configuration in rc.conf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jkh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug  4 15:40:00 PDT 1998
>Closed-Date:    Mon Aug 31 09:48:00 PDT 1998
>Last-Modified:  Mon Aug 31 09:53:24 PDT 1998
>Originator:     Joao Carlos Mendes Luis
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
COPPE/UFRJ
>Environment:

	/stand/sysintall from FreeBSD 2.2-SNAP from Jun, 23.
	Seems to be present at 2.2.7 also.

	System has gone several make world's, but /stand is untouched.

>Description:

krakatoa::root [501] dir /etc/rc.conf*
-rw-r--r--  1 root  wheel  8054  4 Ago 19:26 /etc/rc.conf
-rw-r--r--  1 root  wheel  8054  4 Ago 19:26 /etc/rc.conf.previous

Execute /stand/sysinstall.  No need to do anything.  Just enter and
get out immediately.

krakatoa::root [503] dir /etc/rc.conf*
-rw-r--r--  1 root  wheel  8053  4 Ago 19:30 /etc/rc.conf
-rw-r--r--  1 root  wheel  8054  4 Ago 19:30 /etc/rc.conf.previous

And the diffs are:

krakatoa::root [505] diff -u /etc/rc.conf*
--- /etc/rc.conf        Tue Aug  4 19:30:02 1998
+++ /etc/rc.conf.previous       Tue Aug  4 19:30:02 1998
@@ -97,7 +97,7 @@
 defaultrouter="146.164.26.1"   # Set to default gateway (or NO).
 static_routes=""               # Set to static route list (or leave empty).
 gateway_enable="YES"           # Set to YES if this host will be a gateway.
-router_enable="NO"             # Set to YES to enable a routing daemon.
+router_enable="YES"            # Set to YES to enable a routing daemon.
 router="routed"                        # Name of routing daemon to use if enabled.
 router_flags=""                # Flags for routing daemon.
 mrouted_enable="NO"            # Do multicast routing (see /etc/mrouted.conf).

>How-To-Repeat:

	See above.

>Fix:
	
	Don't know.

	Previous versions did not have this bug.  Maybe some search in
	the CVS logs may help.

	Probably deserves a note in ERRATA.TXT from 2.2.7-RELEASE.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: phk 
Responsible-Changed-When: Thu Aug 6 23:10:03 PDT 1998 
Responsible-Changed-Why:  
sysinstall issue 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Mon Aug 31 09:48:00 PDT 1998 
State-Changed-Why:  
Cannot reproduce with 2.2.7-stable's sysinstall; if this bug existed, 
it must have been for a narrow window right at 2.2.7-release time. 
>Unformatted:
