RPM

Comment 1 for bug 670999

Revision history for this message
In , Till (till-redhat-bugs) wrote :

Description of problem:
When a package contains files marked as %config(noreplace) and in a later
release of this package these files become symlinks, then these files are
silently removed and no .rpmsave file is kept.

Version-Release number of selected component (if applicable):
4.4.2.2-7.fc8

How reproducible:
always

Steps to Reproduce:
1. yum install mock-0.7.6-1.fc8
2. edit /etc/mock/fedora-5-i386-epel.cfg
3. yum update mock (to version 0.9.7-2.fc8)

Actual results:
after update /etc/mock/fedora-5-i386-epel.cfg is a symlink to epel-5-i386.cfg.
The original file fedora-5-i386-epel.cfg is lost.

Expected results:
1a) There should be a new symlink created: /etc/mock/fedora-5-i386-epel.cfg.rpmnew
1b) Or: fedora-5-i386-epel.cfg should be saved as epel-5-i386.cfg and a
epel-5-i386.cfg.rpmnew should be created
In conclusion: There should be copy of the fedora-5-i386-epel.cfg kept somewhere
and rpm should indicate, that manual intervention is needed.