From rohrbach@www.dino-onlinde.de  Wed Jun  4 16:52:45 1997
Received: from www.dino-onlinde.de ([194.162.123.45])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA05766
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 4 Jun 1997 16:52:44 -0700 (PDT)
Received: (from rohrbach@localhost)
	by www.dino-onlinde.de (8.8.5/8.8.5) id HAA03959;
	Thu, 5 Jun 1997 07:54:44 GMT
Message-Id: <199706050754.HAA03959@www.dino-onlinde.de>
Date: Thu, 5 Jun 1997 07:54:44 GMT
From: "Karsten W. Rohrbach" <rohrbach@dino-online.de>
Reply-To: rohrbach@dino-online.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: /stand/sysinstall misbehaviour in rc.conf handling
X-Send-Pr-Version: 3.2

>Number:         3782
>Category:       conf
>Synopsis:       /stand/sysinstall misbehaviour in rc.conf handling
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun  4 17:00:00 PDT 1997
>Closed-Date:    Thu Jun 19 08:14:53 PDT 1997
>Last-Modified:  Thu Jun 19 08:15:09 PDT 1997
>Originator:     Karsten W. Rohrbach
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
Nacamar Data Communications
>Environment:

	out of the box 2.2.2-release installation with multiple scsi hard disks

>Description:

	when running /stand/sysinstall to fdisk or label a disk and to set
	options it modifies /etc/rc.conf in a bad way by adding the comment
	field again and again to the end of the lines

>How-To-Repeat:

	run /stand/sysinstall to change a label, fdisk a disk or to change
	system config options in the configurations menu

>Fix:
	
	check the code that groks rc.conf and clean out comment modification.
	add a #FIRSTTIME comment and remove it the first time sysinstall
	modifies the rc.conf file


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: jkh 
Responsible-Changed-When: Wed Jun 4 17:58:40 PDT 1997 
Responsible-Changed-Why:  
This one's clearly mine! 
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Thu Jun 19 08:14:53 PDT 1997 
State-Changed-Why:  
Fixed; sysinstall no longer exhibits this anti-social behavior. 
>Unformatted:
