| Summary: | Configuration files are overwritten on package reinstallation | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Petr Pisar <ppisar> |
| Component: | cvs | Assignee: | Petr Pisar <ppisar> |
| Status: | CLOSED ERRATA | QA Contact: | Martin Cermak <mcermak> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.6 | CC: | azelinka, mcermak |
| Target Milestone: | rc | Keywords: | EasyFix |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | cvs-1.11.22-9.el5 | Doc Type: | Bug Fix |
| Doc Text: |
Cause
Not all cvs configuration files are marked as non-relaceble
configuration files in package metadata.
Consequence
Reinstallation or upgrade of cvs package overwrites content
of some cvs configuration files (e.g. /etc/pam.d/cvs).
Fix
All configuration files have been marked as non-replacable.
Result
After reinstalling or upgrading cvs package, cvs
configuration will not get lost.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-19 11:20:22 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
Not all cvs configuration files are marked as non-relaceble
configuration files in package metadata.
Consequence
Reinstallation or upgrade of cvs package overwrites content
of some cvs configuration files (e.g. /etc/pam.d/cvs).
Fix
All configuration files have been marked as non-replacable.
Result
After reinstalling or upgrading cvs package, cvs
configuration will not get lost.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1383.html |
cvs-1.11.22-7.el5 delivers configuration files: /etc/pam.d/cvs /etc/profile.d/cvs.sh /etc/xinetd.d/cvs but only /etc/xinetd.d/cvs is protected by %config(noreplace) macro in spec file from silent overwrite while reinstalling/upgrading the cvs package. Following spec file statements must be prefixed with %config(noreplace) marker: %{_sysconfdir}/pam.d/* %{_sysconfdir}/profile.d/* Especially the PAM configuration file modification can have security implications.