Concerning rpm --verify

David Tonhofer, m-plify S.A. d.tonhofer at m-plify.com
Wed Nov 9 16:40:33 UTC 2005


I have a system here running RH ES 4 that is currently
Behaving Badly (but not for long...grrr). I wanted to check
the kernel RPM using rpm --verify:

[root at greyhound ~]# rpm --verify kernel
........C   /boot/System.map-2.6.9-11.EL
........C   /boot/config-2.6.9-11.EL
........C   /boot/vmlinuz-2.6.9-11.EL
........C   /boot/System.map-2.6.9-22.EL
........C   /boot/config-2.6.9-22.EL
........C   /boot/vmlinuz-2.6.9-22.EL
........C   /boot/System.map-2.6.9-22.0.1.EL
........C   /boot/config-2.6.9-22.0.1.EL
........C   /boot/vmlinuz-2.6.9-22.0.1.EL

The question is: what does the 'C' mean?

This flag is not explained in the rpm manpage. I imagine it has not been
completed yet? There it says:


<<< quote <<<

The format of the output is a string of 8 characters, a possible attribute marker:

c %config configuration file.
d %doc documentation file.
g %ghost file (i.e. the file contents are not included in the package payload).
l %license license file.
r %readme readme file.

from the package header, followed by the file name.  Each of the 8 characters
denotes the result of a comparison of attribute(s) of the file to the
value of those attribute(s) recorded in the database.  A single "." (period)
means the test passed, while a single "?" (question mark) indicates the
test  could not be performed (e.g. file permissions prevent reading). Otherwise,
the (mnemonically emBoldened) character denotes failure of the corresponding
--verify test:

       S file Size differs
       M Mode differs (includes permissions and file type)
       5 MD5 sum differs
       D Device major/minor number mismatch
       L readLink(2) path mismatch
       U User ownership differs
       G Group ownership differs
       T mTime differs

>>> quote >>>


Best regards,

	-- David






More information about the redhat-list mailing list