Hi all,
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?
Cheers, Gavin
On Wed, Mar 19, 2008, Gavin Carr wrote:
Hi all,
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.
Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
A child can go only so far in life without potty training. It is not mere coincidence that six of the last seven presidents were potty trained, not to mention nearly half of the nation's state legislators. -- Dave Barry
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
On Wed, 2008-03-19 at 14:48 +1100, 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?
From the spec file:
%verify(not md5 size mtime) %config(noreplace) /etc/exports
rpm has been explicitly told to *not* check certain traits.
On Wed, Mar 19, 2008 at 12:08:50AM -0400, Ignacio Vazquez-Abrams wrote:
On Wed, 2008-03-19 at 14:48 +1100, 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?
From the spec file:
%verify(not md5 size mtime) %config(noreplace) /etc/exports
rpm has been explicitly told to *not* check certain traits.
Ah, very cool, thanks. Any pointers to why one would do this?
Cheers, Gavin
On Wed, 2008-03-19 at 16:32 +1100, Gavin Carr wrote:
On Wed, Mar 19, 2008 at 12:08:50AM -0400, Ignacio Vazquez-Abrams wrote:
On Wed, 2008-03-19 at 14:48 +1100, 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?
From the spec file:
%verify(not md5 size mtime) %config(noreplace) /etc/exports
rpm has been explicitly told to *not* check certain traits.
Ah, very cool, thanks. Any pointers to why one would do this?
Verifying against a stock /etc/bashrc is useful, since it influences system behavior. Verifying against a stock /etc/exports is not, beyond who owns the file and what permissions it has.
On Wed, Mar 19, 2008 at 01:41:39AM -0400, Ignacio Vazquez-Abrams wrote:
I thought verify was supposed to check every file in the package?
From the spec file:
%verify(not md5 size mtime) %config(noreplace) /etc/exports
rpm has been explicitly told to *not* check certain traits.
Ah, very cool, thanks. Any pointers to why one would do this?
Verifying against a stock /etc/bashrc is useful, since it influences system behavior. Verifying against a stock /etc/exports is not, beyond who owns the file and what permissions it has.
Thanks Ignacio. I guess that makes sense, for certain values of 'verify'.
I'm trying to use this for backup though, so I really _want_ to know if the md5sum has changed. Anyone know of some kind of undocumented --forcefiles option to rpm -V, or am I going to by rolling it myself via --dump?
Cheers, Gavin