Bug 7945 - 2.2.6->2.2.7 upgrade clobbered /etc without backing it up
Summary: 2.2.6->2.2.7 upgrade clobbered /etc without backing it up
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-09-16 09:40 UTC by Ben Jackson
Modified: 1998-12-29 00:44 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 Ben Jackson 1998-09-16 09:40:01 UTC
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...

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...
Comment 1 bill fumerola freebsd_committer freebsd_triage 1998-12-29 00:44:30 UTC
State Changed
From-To: open->closed

Please try the newest installer.