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.
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: fedora- 5-i386- epel.cfg
1. yum install mock-0.7.6-1.fc8
2. edit /etc/mock/
3. yum update mock (to version 0.9.7-2.fc8)
Actual results: fedora- 5-i386- epel.cfg is a symlink to epel-5-i386.cfg. 5-i386- epel.cfg is lost.
after update /etc/mock/
The original file fedora-
Expected results: fedora- 5-i386- epel.cfg. rpmnew 5-i386- epel.cfg should be saved as epel-5-i386.cfg and a i386.cfg. rpmnew should be created 5-i386- epel.cfg kept somewhere
1a) There should be a new symlink created: /etc/mock/
1b) Or: fedora-
epel-5-
In conclusion: There should be copy of the fedora-
and rpm should indicate, that manual intervention is needed.