RPM 4.10.2 verify not showing changes of %config(noreplace) files

Joschi Brauchle joschi.brauchle at tum.de
Mon Aug 5 14:02:20 UTC 2013


Hello all,

I was wondering if the following issue is a bug or by design:

While trying to figure out, if a TeXLive config(noplace) packaged file 
was changed of not, I found the following problem with RPM 4.10.2 on 
openSUSE 12.3:

---------- 1st verify ----------
# rpm -Vv texlive-kpathsea
.........  c /etc/texmf/web2c/fmtutil.cnf
<stripped the rest>

---------- touching ----------
# touch /etc/texmf/web2c/fmtutil.cnf

---------- 2nd verify ----------
# rpm -Vv texlive-kpathsea
.........  c /etc/texmf/web2c/fmtutil.cnf
<stripped the rest>
----------
The file /etc/texmf/web2c/fmtutil.cnf is packaged as %config(noreplace).

 From above example it because clear that at least the time stamp of the 
file /etc/texmf/web2c/fmtutil.cnf should be shown as changed in the 
second run of RPM verify. Hence, RPM verify seems to ignore changes of 
%config(noreplace) files.

How is one supposed to check for changes in these files? There seems to 
be no command line switch in RPM to override this behavior?

Is this by design or a bug in RPM?

Best regards,
Joschi Brauchle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4607 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20130805/02dd7369/attachment.p7s>


More information about the Rpm-list mailing list