From nobody  Sun Jul 13 19:44:24 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.5/8.8.5) id TAA23378;
          Sun, 13 Jul 1997 19:44:24 -0700 (PDT)
Message-Id: <199707140244.TAA23378@hub.freebsd.org>
Date: Sun, 13 Jul 1997 19:44:24 -0700 (PDT)
From: bfriesen@simple.dallas.tx.us
To: freebsd-gnats-submit@freebsd.org
Subject: /stand/sysinstall severely trashes /etc/rc.conf when run again
X-Send-Pr-Version: www-1.0

>Number:         4085
>Category:       conf
>Synopsis:       /stand/sysinstall severely trashes /etc/rc.conf when run again
>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 Jul 13 19:50:01 PDT 1997
>Closed-Date:    Sun Jul 13 22:18:09 PDT 1997
>Last-Modified:  Sun Jul 13 22:19:01 PDT 1997
>Originator:     Bob Friesenhahn
>Release:        2.2.2
>Organization:
>Environment:
FreeBSD tina.simple.dallas.tx.us 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #0: Sun Jul 13 17:42:07 CDT 1997     bfriesen@tina.simple.dallas.tx.us:/usr/src/sys/compile/DELL  i386
>Description:
If /stand/sysinstall is run in order to do post-install configuration,
the /etc/rc.conf file becomes totally trashed with repeated strings.  Looks
like a buffer overflow.  Note that the machines hostname is long.

swapfile="NO"           # Set to name of swapfile if aux swapfile desired."             # Set to name of swapfile if aux swapfile desired."     
        # Set to name of swapfile if aux swapfile desired."             # Set to name of swapfile if aux swapfile desired.
apm_enable="NO"         # Set to YES if you want APM enabled."          # Set to YES if you want APM enabled."
>How-To-Repeat:
Run /stand/sysinstall and select post-instal configuration.
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Jul 13 22:18:09 PDT 1997 
State-Changed-Why:  
Already fixed in RELENG_2_2 and -current; please update your 
/stand/sysinstall by cvsup'ing either of these branches and 
then doing a: cd /usr/src/release/sysinstall && make all install 
>Unformatted:
