Bug 51917
Summary: | RFE: be able to override "config designation" of a file. | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Aleksey Nogin <aleksey> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-08-19 19:11:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Aleksey Nogin
2001-08-16 21:00:15 UTC
You can already mark files not to be overwritten by adding to %_netsharedpath and or installing with --excludepath. Devising a general means to merge file markers from system configuration and the command line would be a nightmare to diagnose, and seems at odds with "package management". Why not just rebuild the package with your fiddles included? OK, let me be a little more specific - I am messging with Mozilla a lot and I want to have my own /usr/bin/mozilla shell script, however I still want to keep using Blizzard's latest "nightly" RPMs. Rebuilding Mozilla myself takes a few hour on my machine and kind of defeats the idea... You have the following choices: 1) Add the files you don't want changed to a %_netsharedpath in /etc/rpm/macros 2) Copy the file you want into place immediately after your nightly upgrade. I3) Open a bug in bugzilla against Mozilla to try to get the file marked with %config(noreplace) to preserve your locally modified /usr/bin/mozilla script. Otherwisie, I see no reason to add functionality to rpm, rebuilding (yes that's hard with Mozilla) the package is the right thing to do. |