[CentOS] RPM verify weirdness

Wed Mar 19 04:03:48 UTC 2008
Gavin Carr <gavin at openfusion.com.au>

On Tue, Mar 18, 2008 at 08:55:16PM -0700, Bill Campbell wrote:
> On Wed, Mar 19, 2008, Gavin Carr wrote:
> >Can anyone explain this to me? (CentOS 4/5)
> >
> >  # rpm -qf /etc/exports
> >  setup
> >  # rpm -V setup
> >  S.5....T c /etc/bashrc
> >  S.5....T c /etc/printcap
> >  ..?..... c /etc/securetty
> >  # echo '#### foo' > /etc/exports
> >  # cat /etc/exports
> >  #### foo
> >  # rpm -V setup
> >  S.5....T c /etc/bashrc
> >  S.5....T c /etc/printcap
> >  ..?..... c /etc/securetty
> >
> >I thought verify was supposed to check every file in the package?
> 
> It does, only displaying changes.  The ones with ? are most
> likely zero length.
> 
> The ``c'' characters in the middle indicate configuration files,
> and changes are often normal.

Yes, but my point is I just changed /etc/exports, and yet it doesn't
show up in the rpm -V.

Cheers,
Gavin