rpm5 package verification and md5sum of config files
Adam Osuchowski
adwol at zonk.pl
Sun Oct 14 20:51:12 CEST 2012
Package verification by rpm-5.4.10-18 always shows config files as modified
(md5sum changed) even though they are not modified.
For example:
root at pld:~# rpm -q --qf '[%{filemd5s} %{filenames}\n]' systemd-units | grep /etc/systemd/system-preset/default.preset ; md5sum /etc/systemd/system-preset/default.preset
e6e4f6387a5dd8161fcb48c51ce85197 /etc/systemd/system-preset/default.preset
e6e4f6387a5dd8161fcb48c51ce85197 /etc/systemd/system-preset/default.preset
root at pld:~# rpm -V systemd-units
..5..... c /etc/systemd/system-preset/default.preset
root at pld:~# rpm -q --qf '[%{filemd5s} %{filenames}\n]' wget | grep /etc/wgetrc ; md5sum /etc/wgetrc
0dbf720f5c9d29cbad8356f758a6a889 /etc/wgetrc
0dbf720f5c9d29cbad8356f758a6a889 /etc/wgetrc
root at pld:~# rpm -V wget
..5..... c /etc/wgetrc
It occurs probably for every package with configuration file(s).
BTW, is there any argument for rpm5 to not show changes of configuration
files during -V verification like with rpm4?
More information about the pld-devel-en
mailing list