From matusita@jp.freebsd.org  Sat Jul 29 00:50:30 2000
Return-Path: <matusita@jp.freebsd.org>
Received: from castle.jp.freebsd.org (castle.jp.FreeBSD.org [210.226.20.15])
	by hub.freebsd.org (Postfix) with ESMTP id 848FD37BA26
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Jul 2000 00:50:29 -0700 (PDT)
	(envelope-from matusita@jp.freebsd.org)
Received: from localhost (localhost [127.0.0.1])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id QAA22784
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Jul 2000 16:50:28 +0900 (JST)
	(envelope-from matusita@jp.FreeBSD.org)
Message-Id: <20000729165019R.matusita@jp.FreeBSD.org>
Date: Sat, 29 Jul 2000 16:50:19 +0900
From: Makoto MATSUSHITA <matusita@jp.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: sysinstall does not recover some /etc files
X-Send-Pr-Version: 3.2

>Number:         20282
>Category:       bin
>Synopsis:       sysinstall(8): sysinstall does not recover some /etc files
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-sysinstall
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 29 01:00:04 PDT 2000
>Closed-Date:    
>Last-Modified:  Sat Jun 29 05:52:42 UTC 2013
>Originator:     Makoto MATSUSHITA
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Japan FreeBSD Users' Group
>Environment:

	Recent both 4-STABLE/-CURRENT branches

>Description:

	You can "upgrade" existing FreeBSD system, by selecting
	"Upgrade" option of sysinstall. However, sysinstall does not
	recover some /etc files such as /etc/sendmail.cf, etc.

	After you have finished upgrading FreeBSD, you have lost your
	configulation files. It may causes some serious results.

	Some /etc/rc.firewall users also get stucked. Yes, rc.firewall
	keeps during the upgrade but it causes the bomb; there is
	no source_rc_confs() to suck the config variables.

>How-To-Repeat:

	Shutdown your FreeBSD box, boot with floppy. When sysinstall
	comes up, select "Upgrade" to upgrade your system, and reboot.

>Fix:
	
	All need-to-restore-after-installation /etc files should be
	listed in src/release/sysinstall/installUpgrade.c.

	All FreeBSD committers who creates some files in /etc should
	check "etc_files" variable. If your file is missing, it should
	be added if you want the user to keep modified file during the
	system upgrade (with approvals of sysinstall maintainer).

	This is a list of new candidates of etc_files, but not limited to:
		apmd.conf, dhclient.conf, hosts.allow, isdn/,
		protocols, pccard.conf, pccard_ether, periodic.conf,
		phones, pim6dd.conf, pim6sd.conf, rpc, security, ssh/,
		ssl/, usbd.conf.

	Some rc.* files are maybe also the canididates. However, it's
	too hard to resolv rc.firewall problem described above. It
	should be keeped, however it causes troubles if sysinstall keeps.

	Should we do /etc upgrading procedures with mergemaster(8)?

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Mon Jul 31 05:37:09 PDT 2000 
Responsible-Changed-Why:  
Over to Mr. Sysinstall Jr. :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20282 

From: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: conf/20282: sysinstall does not recover some /etc files
Date: Wed, 27 Sep 2000 13:12:37 +0900

 I'm not a responsible person, but here is a current status about this
 problems. Maybe the status of this PR will be 'analysed' :-)
 
 * /etc/rc.firewall is modified to include rc.conf (solved).
 * sysinstall does not consider lots of /etc files.
 
 -- -
 Makoto `MAR' MATSUSHITA
 
Responsible-Changed-From-To: murray->eric 
Responsible-Changed-By: murray 
Responsible-Changed-When: Thu Aug 30 15:43:38 PDT 2001 
Responsible-Changed-Why:  
Eric is working in this area. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20282 
Responsible-Changed-From-To: eric->freebsd-qa 
Responsible-Changed-By: eric 
Responsible-Changed-When: Mon Oct 1 11:49:56 PDT 2001 
Responsible-Changed-Why:  
assign idle sysinstall bugs to freebsd-qa, as suggested by murray 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20282 
Responsible-Changed-From-To: freebsd-bugs->randi 
Responsible-Changed-By: randi 
Responsible-Changed-When: Sat Jun 6 22:53:39 UTC 2009 
Responsible-Changed-Why:  
Grabbing this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20282 
Responsible-Changed-From-To: randi->freebsd-sysinstall  
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Jun 29 05:52:04 UTC 2013 
Responsible-Changed-Why:  
back to mailing list. 

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