From nobody@FreeBSD.org  Sun Dec  9 02:21:31 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7B09A16A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Dec 2007 02:21:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 6B0A413C458
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 Dec 2007 02:21:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lB92LLMm074273
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 9 Dec 2007 02:21:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lB92LL6X074272;
	Sun, 9 Dec 2007 02:21:21 GMT
	(envelope-from nobody)
Message-Id: <200712090221.lB92LL6X074272@www.freebsd.org>
Date: Sun, 9 Dec 2007 02:21:21 GMT
From: Ammad Shah <mammadshah@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: sysinstall  and /etc/rc.conf
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         118503
>Category:       bin
>Synopsis:       sysinstall(8): sysinstall(8) and /etc/rc.conf
>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 Dec 09 02:30:00 UTC 2007
>Closed-Date:    Sun Apr 25 11:32:35 UTC 2010
>Last-Modified:  Sun Apr 25 11:32:35 UTC 2010
>Originator:     Ammad Shah
>Release:        6.2
>Organization:
Creative Chaos
>Environment:
FreeBSD fbsd.csquareonline.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:

i am new to Free-BSD, but i have experience on Linux (RHEL/Fedora/Suse).there is problem when ever i run sysinstall to configure ethernet devices. it appends a new line in /etc/rc.conf, whereas it should modify the previous entry that was created by  user or system. like in linux when i modify ip using "setup" / system-config-network, it modifies /etc/sysconfig/network-scripts/ifcfg-eth0. 

According to my point of view its a bug in freebsd. and it should be removed from it. 


thanks.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kris@FreeBSD.org>
To: Ammad Shah <mammadshah@hotmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/118503: sysinstall  and /etc/rc.conf
Date: Thu, 10 Jan 2008 23:28:36 +0100

 Ammad Shah wrote:
 
 > i am new to Free-BSD, but i have experience on Linux (RHEL/Fedora/Suse).there is problem when ever i run sysinstall to configure ethernet devices. it appends a new line in /etc/rc.conf, whereas it should modify the previous entry that was created by  user or system. like in linux when i modify ip using "setup" / system-config-network, it modifies /etc/sysconfig/network-scripts/ifcfg-eth0. 
 > 
 > According to my point of view its a bug in freebsd. and it should be removed from it. 
 
 The file is read in sequence, so repeated lines do not cause a problem. 
   This is just a cosmetic issue.  Typically sysinstall is not 
 recommended or used as a post-install administration tool though.
 
 Kris
State-Changed-From-To: open->closed 
State-Changed-By: brucec 
State-Changed-When: Sun Apr 25 11:30:58 UTC 2010 
State-Changed-Why:  
Sysinstall isn't intended as a system administration tool, though it  
does generate a valid rc.conf file because only the last instance of a line  
takes effect. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=118503 
>Unformatted:
