From nobody  Wed Sep 16 01:33:12 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id BAA01873;
          Wed, 16 Sep 1998 01:33:12 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199809160833.BAA01873@hub.freebsd.org>
Date: Wed, 16 Sep 1998 01:33:12 -0700 (PDT)
From: ben@ben.com
To: freebsd-gnats-submit@freebsd.org
Subject: 2.2.6->2.2.7 upgrade clobbered /etc without backing it up
X-Send-Pr-Version: www-1.0

>Number:         7945
>Category:       misc
>Synopsis:       2.2.6->2.2.7 upgrade clobbered /etc without backing it up
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 16 01:40:01 PDT 1998
>Closed-Date:    Mon Dec 28 16:44:30 PST 1998
>Last-Modified:  Mon Dec 28 16:44:59 PST 1998
>Originator:     Ben Jackson
>Release:        2.2.7 (now!)
>Organization:
>Environment:
FreeBSD pulsar.ben.com 2.2.7-RELEASE FreeBSD 2.2.7-RELEASE #0: Sun Sep 13 04:49:04 PDT 1998     bj@pulsar.ben.com:/usr/src/sys/compile/PULSAR  i386

>Description:
I used the Walnut Creek cdrom to to an upgrade from 2.2.6 (sysinstall
"Upgrade" option).  It prompted me for a directory to backup my etc
dir (I gave it `/etc.bak') and rattled the disk while claiming to be
doing that.  It said the NEW etc files would be in an `upgrade' directory.
Towards the end it claimed I had no fstab, passwd or group files.

In the end, all of my etc files were overwritten by the dist, I have
no `upgrade' directory and NO ETC.BAK!  I guess the scary warning should
have scared me off, though I have managed to do deltas in the past...
>How-To-Repeat:

>Fix:
I'm wondering if `/etc.bak' put it in the MFS rather than in /mnt, but
of course you can't tell from the holographic shell...  I suppose I got
`upgrade' dir because the files were extracted directly into etc (a bug,
but it explains my results).

The workaround is to go get your offsite backup and restore /etc...
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: billf 
State-Changed-When: Mon Dec 28 16:44:30 PST 1998 
State-Changed-Why:  
Please try the newest installer. 
>Unformatted:
