From lutz@tavari.muc.de  Sun Oct 13 05:05:44 1996
Received: from colin.muc.de (root@colin.muc.de [193.174.4.1])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id FAA04617
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Oct 1996 05:05:42 -0700 (PDT)
Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <86047-2>; Sun, 13 Oct 1996 13:05:13 +0100
Received: from orlando.tavari.muc.de (orlando.tavari.muc.de [192.168.42.4]) by tavari.muc.de (8.7.5/8.7.3) with ESMTP id NAA08212 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 13 Oct 1996 13:56:57 +0200 (MET DST)
Received: (from lutz@localhost) by orlando.tavari.muc.de (8.7.5/8.7.3) id OAA00656; Sun, 13 Oct 1996 14:04:59 +0100 (MET)
Message-Id: <199610131304.OAA00656@orlando.tavari.muc.de>
Date: Sun, 13 Oct 1996 14:04:59 +0100
From: lutz@muc.de
Reply-To: lutz@muc.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: 2.1.5 update destroys old /etc/sysconfig
X-Send-Pr-Version: 3.2

>Number:         1784
>Category:       misc
>Synopsis:       2.1.5 update destroys the old sysconfig file
>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 Oct 13 05:10:01 PDT 1996
>Closed-Date:    Sun Oct 13 07:36:37 PDT 1996
>Last-Modified:  Sun Oct 13 07:37:04 PDT 1996
>Originator:     Lutz Albers
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

System running 2.1R updated to 2.1.5R using the CD-ROM.

>Description:

During the update all /etc files will be saved in a custom directory.
The /etc/sysconfig is not saved, but overwritten with the new sysconfig file
from the 2.1.5 release.

You loose all your system configuration.

>How-To-Repeat:

Update your system.

>Fix:
	
installUpgrade.c calls in line 267 the function copySelf. This function will
copy the /etc files on the floppy (services, protocol, sysconfig) to the disc.
At this point the old sysconfig file is overwritten !!!
The /etc directory is saved later with this already overwritten files.

Maybe you should save the /etc files BEFORE calling copySelf ?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Oct 13 07:36:37 PDT 1996 
State-Changed-Why:  
This has already been fixed - upgrade no longer calls copySelf(). 
>Unformatted:
