[lug] rpm verify

Hugh Brown hugh at math.byu.edu
Thu Mar 9 12:18:39 MST 2006



On Thu, 9 Mar 2006, Warren Sanders wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hugh Brown wrote:
> > rpm -V util-linux gives me this
> >
> > S.?......   /usr/bin/chfn
> > SM5....TC   /usr/bin/chsh
> > S.?......   /usr/bin/newgrp
> >
> > so what does the C in the final column mean for /usr/bin/chsh?
> - From the man page:
> 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 "?"
> (ques-
>        tion mark) indicates the test could not be performed (e.g.
> file  per-
>        missions  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
>



I guess I don't see how this answers the question.  The man page
references 8 columns, but there are now nine included in the output.

e.g.  from the util-linux package again

S.5....T. c /etc/pam.d/remote
..?....T.   /usr/bin/chfn
SM5....TC   /usr/bin/chsh

So on the /etc/pam.d/remote file, I see a string of 9 characters, an
attribute marker and the filename.  On /usr/bin/chsh, I see the C in the
final column and have no idea which test it represents.

Hugh



More information about the LUG mailing list