rpm5 package verification and md5sum of config files
Adam Osuchowski
adwol at zonk.pl
Sun Oct 14 21:28:08 CEST 2012
Jeffrey Johnson wrote:
> The comparison is against the file on disk (and includes check of mtime)
> md5sum /etc/wgetrc
> (or whatever digest you are using: the '5' is mostly hysterical these days)
Ok, I know that comparison is against the file on disk but that's what
it's all about. Why rpm -V shows differences in files md5 sums (no matter
how hysterical md5 is, it is better than nothing) since these md5 sums in
rpm database are exactly the same as md5 sums of files on disk? Even if I
specify --nomd5 option, rpm tells that all files has changed md5 sums:
root at pld:~# rpm -V --nomd5 wget
..5..... c /etc/wgetrc
..5..... d /usr/share/doc/wget-1.14/NEWS.gz
..5..... /usr/share/locale/hr/LC_MESSAGES/wget.mo
..5..... /usr/share/locale/nl/LC_MESSAGES/wget.mo
..5..... /usr/bin/rmold
..5..... d /usr/share/doc/wget-1.14/README.gz
..5..... /usr/share/locale/cs/LC_MESSAGES/wget.mo
[...]
>From my point of view it is a bug. rpm4 behaviour is more logical in
this situation.
More information about the pld-devel-en
mailing list