Bug 20282 - sysinstall(8): sysinstall does not recover some /etc files
Summary: sysinstall(8): sysinstall does not recover some /etc files
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-07-29 09:00 UTC by Makoto Matsushita
Modified: 2015-11-10 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Makoto Matsushita 2000-07-29 09:00:04 UTC
	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.

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)?
How-To-Repeat: 
	Shutdown your FreeBSD box, boot with floppy. When sysinstall
	comes up, select "Upgrade" to upgrade your system, and reboot.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-31 13:37:09 UTC
Responsible Changed
From-To: freebsd-bugs->murray

Over to Mr. Sysinstall Jr. :-)
Comment 2 Makoto Matsushita 2000-09-27 05:12:37 UTC
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
Comment 3 Murray Stokely freebsd_committer freebsd_triage 2001-08-30 23:43:38 UTC
Responsible Changed
From-To: murray->eric

Eric is working in this area.
Comment 4 Eric Melville freebsd_committer freebsd_triage 2001-10-01 19:49:56 UTC
Responsible Changed
From-To: eric->freebsd-qa

assign idle sysinstall bugs to freebsd-qa, as suggested by murray
Comment 5 randi freebsd_committer freebsd_triage 2009-06-06 23:53:39 UTC
Responsible Changed
From-To: freebsd-bugs->randi

Grabbing this.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2013-06-29 06:52:04 UTC
Responsible Changed
From-To: randi->freebsd-sysinstall

back to mailing list.
Comment 7 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:07:07 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.
Comment 8 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:12:16 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.