Description of problem:
Installing device-mapper-multipath and running "rpm -V device-mapper-multipath" shows error:
# rpm -V device-mapper-multipath
S.5....T. c /etc/kpartx.conf
Version-Release number of selected component (if applicable):
How reproducible: always
Steps to Reproduce:
1. up2date device-mapper-multipath
2. rpm -V device-mapper-multipath
This is the (very) same as bz582330 where the proposed fix is adding "%config(noreplace) %verify(not md5 mtime size)" to .spec file.
%config(noreplace) %verify(not md5 mtime size) added to specfile.
Reproduced in device-mapper-multipath-0.4.5-36.el4 and verified in device-mapper-multipath-0.4.5-40.el4.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
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.
Cause: the device-mapper-multipath package may modify the installed default /etc/kpartx.conf file during rpm installation. After this, /etc/kpartx.conf's size, md5sum, and time of last modification no longer match the information in the rpm package.
Consequence: rpm -V device-mapper-multipath
Fix: Flags were added to the spec file to tell rpm that /etc/kpartx.conf may change, and that it should ignore differences in size, md5sum and modification time.
Result: rpm -V no longer prints any errors for newly installed device-mapper-multipath packages.