[3071] in RedHat Linux List
Re: RPM clobbers files
daemon@ATHENA.MIT.EDU (Donnie Barnes)
Wed Nov 6 20:41:36 1996
To: redhat-list@redhat.com
In-reply-to: Your message of "Wed, 06 Nov 1996 16:19:18 PST."
<32812B06.79052025@qualcomm.com>
Date: Wed, 06 Nov 1996 20:16:47 -0500
From: Donnie Barnes <djb@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>This discussion has turned rather philosophic. I don't mean to
>prolong this thread, but...
>I can confirm, as earlier posts in this thread mentioned, that
>/etc/hosts and /etc/resolv.conf were replaced, not *.rpmsave'd,
>when upgrading a 3.0.3 machine to 4.0. I beleive that these
>should have been marked as %config files, and that this behavior
>is either a bug in RPM or in the packages.
Damn. It just hit me. Notice:
[1001]marvin:~> rpm -qf /etc/hosts
file /etc/hosts is not owned by any package
Why? Because, it just gets created at install/upgrade time.
We'll need to fix this in the *install* code, not in RPM. Since
damned near everyone's /etc/hosts and /etc/resolv.conf are
different, building and RPM of them would be kinda dumb.
--Donnie
--
Donnie Barnes http://www.redhat.com/~djb "Bah."
djb@redhat.com http://www.turner.com/lazarusman/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_Things You'd NEVER Expect A Southerner To Say_ by Vic Henley:
** I hate the long version of ``Free Bird''.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null