Bug 50243 - rpm -Uvh overwrites config files
Summary: rpm -Uvh overwrites config files
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-29 00:14 UTC by Joe Acosta
Modified: 2007-04-18 16:35 UTC (History)
0 users

Clone Of:
Last Closed: 2001-07-29 00:14:30 UTC

Attachments (Terms of Use)

Description Joe Acosta 2001-07-29 00:14:26 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.7 i686)

Description of problem:

How reproducible:

Steps to Reproduce:
1. edit a configuration file in /etc for a program (take apache)
2. upgrade the package that has its configuration in /etc somewhere
3. run rpm -Uvh apache-<newer version>
4. your config may be saved as <config>.rpmsave
sometimes this happens sometimes it does not

Expected Results:  rpm should prompt the user and ask if they want to use
the old or new config file.  In the case of upgrading an entie system a
user should be able to select which config files he/she wants saved.
 A users should not have useless rpmsave files all over there system.  

Additional info:

Comment 1 Jeff Johnson 2001-07-29 14:51:16 UTC
rpm is a batch mode install program, no user dialogue is desired or permitted.

The config file handling depends on how the files are packaged, different
people package in different ways. Meanwhile, the mechanism provided
by rpm is exactly the same as it's always been, and will not be changed.
If you have problems with how specific files are packages, then make a
bug report against that package, not rpm.

Note You need to log in before you can comment on or make changes to this bug.