From lutz@tavari.muc.de  Mon Sep 16 05:21:28 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 FAA00775
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 1996 05:21:21 -0700 (PDT)
Received: from tavari.muc.de ([193.174.4.22]) by colin.muc.de with SMTP id <86099-2>; Mon, 16 Sep 1996 14:20:56 +0200
Received: from tavari.muc.de (orlando.tavari.muc.de [192.168.42.4]) by tavari.muc.de (8.7.5/8.7.3) with ESMTP id OAA22005 for <FreeBSD-gnats-submit@freebsd.org>; Mon, 16 Sep 1996 14:20:05 +0200 (MET DST)
Received: (from lutz@localhost) by orlando.tavari.muc.de (8.7.5/8.7.3) id OAA07130; Mon, 16 Sep 1996 14:17:14 +0200 (MET DST)
Message-Id: <199609161217.OAA07130@orlando.tavari.muc.de>
Date: Mon, 16 Sep 1996 14:17:14 +0200
From: lutz@muc.de
Reply-To: lutz@muc.de
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update clobers root's dot-files
X-Send-Pr-Version: 3.2

>Number:         1625
>Category:       misc
>Synopsis:       2.1.5 update overwrites root's dot files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jkh
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 05:30:01 PDT 1996
>Closed-Date:    Sun Jan 5 18:39:40 PST 1997
>Last-Modified:  Sun Jan  5 18:44:53 PST 1997
>Originator:     Lutz Albers
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

The maschine has been upgraded from 2.1R to 2.1.5.

>Description:

Updating you machine WILL overwrite the existing dot-files (i.e. .cshrc)
of the root-account. There should be at least a warning.

>How-To-Repeat:

Update your machine to 2.1.5

>Fix:

Either update the scary update message (the easiest solution) or copy root's
dot-files to a general saved files directory (together with the /etc files).
Some other candidates for that directory would be the following dir's:
	/usr/X11R6/lib/X11/xdm		(xdm-config)
	/usr/X11R6/lib/X11/fs		(X font server config files)

	

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->jkh 
Responsible-Changed-By: scrappy 
Responsible-Changed-When: Mon Nov 4 07:31:09 PST 1996 
Responsible-Changed-Why:  
I believe this falls under Jordan... 

From: Lutz Albers <lutz@muc.de>
To: freebsd-gnats-submit@freebsd.org, lutz@muc.de
Cc:  Subject: Re: misc/1625: 2.1.5 update overwrites root's dot files
Date: Sun, 5 Jan 1997 13:14:30 +0100

 Well,...
 
 the update of 2.2-BETA does the same :-(
 
 I still don't believe that overwritting root dot-files (i.e. .cshrc)
 during update is a good idea.
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Jan 5 18:39:40 PST 1997 
State-Changed-Why:  
I know, but it's too much of a pain to fix at this time so I'm going 
to close this PR and work on doing the 2nd generation installation 
(for release RSN :) which will make such issues irrelevant - it'll 
know you changed the dotfiles (or any other system file) and preserve 
it for you.  At this time, they're part of the bindist and if they 
weren't then root would get no initial dotfiles at all.  Adding them 
to the upgrade's "preserve set" is also not an option since that 
mechanism is currently so crude that there's no point in expanding the 
scope of it at all - it needs to be done over correctly instead. 

So for now, I'm afraid I can only advise you to simply back up your 
root dotfiles (or ANYTHING ELSE you want to be *sure* of keeping before 
doing an upgrade. :) 

I wrote the upgrade procedure, and when I use it to upgrade a system 
I back up the entire root directory (and all my user files) *first* 
before I'll even think about letting it loose.  That should tell you 
something. ;-) 
>Unformatted:
