Subject: install/20042: sysinst upgrade of /etc
To: None <>
From: Richard Earnshaw <>
List: netbsd-bugs
Date: 01/24/2003 15:43:29
>Number:         20042
>Category:       install
>Synopsis:       sysinst upgrade of /etc
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 24 07:44:00 PST 2003
>Originator:     Richard Earnshaw
>Release:        NetBSD 1.6M
System: NetBSD 1.6M NetBSD 1.6M (GENERIC) #0: Thu Jan 23 11:55:34 GMT 2003 shark
Architecture: arm
Machine: shark
	When sysinst does an upgrade we should probably change the way it 
	handles /etc.  Current implementation renames /etc to /etc.old and
	then unpacks a new /etc.  Instead we should probably leave /etc
	where it is and then offer to run postinstall automatically, using
	something like the model shown in the instalation notes.

	In addition to being easier to use, this would also eliminate a current
	failure mode in the current tool where /etc gets renamed to /etc.old,
	we run into an error and then sysinst complains that it can no-longer
	rename /etc (to /etc.old once the user has fixed the problem.
	Run sysinst -> upgrade.