Bug 428155
Summary: | rsyslogd rpm should not mark configs files as noreplace | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vince Skahan <vince.skahan> |
Component: | rsyslog | Assignee: | Peter Vrabec <pvrabec> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | orion, theinric |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-09-15 12:57:24 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
Vince Skahan
2008-01-09 17:39:56 UTC
No, this is bogus and is against the packaging guidelines: http://fedoraproject.org/wiki/Packaging/Guidelines#head-72ae42b20a4c2896c9e7e295b94cfc26bf580bef All config files should be %config(noreplace) unless there is a situatation where an older configuration file will not work with the current version of a pacakge. You should not be trying to replace files owned by one rpm with another rpm. Either manage the config files with a configuration system ala cfengine or puppet, or create your own rsyslog, etc. rpms that completely supersede the default versions. I recommend the first. Without noreplace, a package will move the user modified version of the config file to .rpmsave upon upgrade, generally breaking what the *user* has asked the system to do. All I want to do is have the ability to cut a custom rpm of my own to supersede Fedora's idea of what should be there, and control the installation order with Requires. Your approach means I have to alter 'Fedora' rpms 'into' a custom version, which to me is a far less valid approach....or alternately do all kinds of crimes-against-rpm with %post hacks in a custom rpm of my own. Not good. There are a large number of files on a Fedora system that a sysadmin needs to tweak. RPM is the preferred way to do this, not bolt-on things like cfengine and the like, especially if you're trying to cut a custom distro like we do for some uses. I understand Fedora claiming ownership of the passwd file. I do not know why it claims exclusive ownership of motd and issue and many other almost-certainly-edited files. A packaging system that does not let the admin get the last word in without rebuilding the source operating system components is just badly thought out in my opinion. (In reply to comment #2) > All I want to do is have the ability to cut a custom rpm of my own to supersede > Fedora's idea of what should be there, and control the installation order with > Requires. Then file a bug against rpm to have it support what you want, but don't ask package maintainers to break the current packaging guidelines and break the most common use case scenario. rsyslog.conf and sysconfig/rsyslog are no longer marked noreplace in rawhide. I *really* think this is a back idea and against packaging guidelines. This is going to break user's configurations (mine in particular). fixed in rsyslog-3.21.3-4.fc10 |