Bug 472151

Summary: rpm verify fails after a fresh install
Product: Red Hat Enterprise Linux 5 Reporter: Bryan Mason <bmason>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: bperkins, cward, markus.benning, msusta, tao
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-02 11:40:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed patch adapted from upstream (only the line numbers changed). none

Description Bryan Mason 2008-11-19 00:06:14 UTC
Created attachment 323985 [details]
Proposed patch adapted from upstream (only the line numbers changed).

Description of problem:

    Running "rpm -Va" on a freshly-installed x86_64 system reports
    thousands of files with mtimes that differ from the original
    package.  This pretty much makes rpm verification useless.

Version-Release number of selected component (if applicable):

    rpm-4.4.2.3-7.el5

How reproducible:

    Every time.

Steps to Reproduce:

    1. Install new x86_64 system.
    2. run "rpm -Va"
  
Actual results:

    Many files differ from the ones in the RPM package.  Most of them
    differ only in their mtime and are the ones that belong to
    multiarch packages.

Expected results:

    "rpm -Va" should list only the files that have actually changed

Additional info:

This is one of the complaints put forth in Bug 426672.  This has also
been addressed in upstream rpm:

http://rpm.org/gitweb?p=rpm.git;a=commit;h=9646a117c916022067fd07e4f6a7e25c5c9814de

Comment 1 Panu Matilainen 2008-11-19 06:55:08 UTC
Backporting the fix is easy, devel ack for 5.4.

Comment 5 Panu Matilainen 2009-06-30 09:50:26 UTC
*** Bug 508855 has been marked as a duplicate of this bug. ***

Comment 6 Chris Ward 2009-07-03 18:13:48 UTC
~~ Attention - RHEL 5.4 Beta Released! ~~

RHEL 5.4 Beta has been released! There should be a fix present in the Beta release that addresses this particular request. Please test and report back results here, at your earliest convenience. RHEL 5.4 General Availability release is just around the corner!

If you encounter any issues while testing Beta, please describe the issues you have encountered and set the bug into NEED_INFO. If you encounter new issues, please clone this bug to open a new issue and request it be reviewed for inclusion in RHEL 5.4 or a later update, if it is not of urgent severity.

Please do not flip the bug status to VERIFIED. Only post your verification results, and if available, update Verified field with the appropriate value.

Questions can be posted to this bug or your customer or partner representative.

Comment 8 Petr Sklenar 2009-07-07 13:37:34 UTC
adding QAkeyword RHTSinProgress:

* rhts test created:
  -- /CoreOS/rpm/Regression/bz426672-Make-rpm-V-be-useful-again
  -- test fail due to bug 506922 : there are many different /usr/shared docs files, that's why fails
        
rhts results:
 http://rhts.redhat.com/cgi-bin/rhts/jobs.cgi?id=70559
x86_64.log:
 http://rhts.redhat.com/testlogs/70559/223769/1832406/TESTOUT.log
expected differs + md5 docs differs

Comment 10 errata-xmlrpc 2009-09-02 11:40:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1371.html