Bug 316961 - files in /var/lib/nfs hierarchy should be marked as noverify
Summary: files in /var/lib/nfs hierarchy should be marked as noverify
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: nfs-utils
Version: 4.5
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Jeff Layton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-10-03 15:03 UTC by Jakub Hrozek
Modified: 2008-07-24 20:00 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0742
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 20:00:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0742 0 normal SHIPPED_LIVE nfs-utils bug fix update 2008-07-23 16:47:23 UTC

Description Jakub Hrozek 2007-10-03 15:03:53 UTC
Description of problem:
In nfs-libs's spec, files in /var/lib/nfs hierarchy are not marked as 
noverify. Since these files are meant to change, it results in unnecessary 
gripes during rpm -V.

Version-Release number of selected component (if applicable):
nfs-utils-1.0.6-80.EL4

How reproducible:
always

Steps to Reproduce:
1. rpm -V nfs-utils

  
Actual results:
messages like
S.5....TC c /var/lib/nfs/rmtab
........?   /var/lib/nfs/rpc_pipefs

Expected results:
clean output

Comment 1 Jeff Layton 2007-10-16 16:34:54 UTC
Do you have an example of the specfile changes that need to be made, or even
some documentation that explains how to tag things with %noverify? I'm having
trouble finding any.

Comment 2 Jakub Hrozek 2007-10-17 10:43:05 UTC
Sorry, the opening comment was really confusing..not actually %noverify (I 
don't think there is a such directive :) ), I was thinking along the lines 
of %verify(not md5 size mtime)..

Comment 3 Jeff Layton 2007-10-29 21:22:48 UTC
Test packages with these changes are available on my people page:

http://people.redhat.com/jlayton/

Please test them and report back whether this is fixed.


Comment 4 Jakub Hrozek 2007-11-01 18:05:57 UTC
Yes, this is fixed, I did verify with both specfile inspection (contains 
the %verify(not md5 size mtime)) and a simple testcase:

Old packages:
# echo "foobar" > /var/lib/nfs/rmtab
# rpm -V nfs-utils
S.5....T  c /var/lib/nfs/rmtab

New packages:
# echo "foobar" > /var/lib/nfs/rmtab
# rpm -V nfs-utils
#

Thank you!

Comment 6 Jeff Layton 2007-11-05 13:29:38 UTC
Committed in 1.0.6-85.EL4

Comment 11 errata-xmlrpc 2008-07-24 20:00:14 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-2008-0742.html


Note You need to log in before you can comment on or make changes to this bug.