Bug 168312 - up2date config file is not ignored in rpm -V
up2date config file is not ignored in rpm -V
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: up2date (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bryan Kearney
Beth Nackashi
:
: 179896 (view as bug list)
Depends On:
Blocks: 179651 179652 RHEL3U8CanFix
  Show dependency treegraph
 
Reported: 2005-09-14 16:29 EDT by Beth Nackashi
Modified: 2013-01-10 03:50 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2006-0465
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-20 11:14:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Beth Nackashi 2005-09-14 16:29:21 EDT
Description of problem:
up2date config file is subject to size/MD5/timestamp changes so it should be
ignored by rpm -V

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

How reproducible:


Steps to Reproduce:
1.  rpm -V up2date
  
Actual results:
failures will likely be due to MD5, size, or timestamp change(s) in config file

Expected results:
no failures due to config file changes

Additional info:
Fix might be something like this?
%config(missingok,noreplace) %verify(not md5 size mtime) /etc/sysconfig/rhn/up2date

not sure .....
Comment 1 Adrian Likins 2005-10-05 12:55:29 EDT
hmm, maybe
Comment 3 Fanny Augustin 2006-04-10 20:16:26 EDT
Blocking rhnupr4u4 and rhnupr3u8 to track the progress of the release
Comment 4 Fanny Augustin 2006-04-13 15:15:23 EDT
Moving bugs to the CanFix List
Comment 7 Fanny Augustin 2006-05-09 15:37:45 EDT
This bug has been fixed in this release
Comment 8 James Bowes 2006-05-09 16:20:24 EDT
*** Bug 179896 has been marked as a duplicate of this bug. ***
Comment 9 Beth Nackashi 2006-05-15 15:17:18 EDT
To view the spec file:
1- copy the source rpm onto the client
2- rpm2cpio up2date-x.x.xx-x.src.rpm |cpio -i -d
3- open up2date.spec
Comment 10 Beth Nackashi 2006-05-15 15:40:46 EDT
Package verified:
up2date-4.4.69-8.src.rpm

The following lines were added to up2date.spec to fix this bug:
%config(noreplace) %verify(not md5 size mtime mode) /etc/sysconfig/rhn/up2date
%config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/rhn/up2date-uuid

I have seen a mode failure on my x86_64 box, so I am recommending adding mode to
the up2date-uuid list of excludes.

[root@bnackash-64 tmp]# rpm -V up2date
.M...... c /etc/sysconfig/rhn/up2date-uuid
Comment 11 Beth Nackashi 2006-06-01 10:48:23 EDT
latest up2date and rhnlib packages:

/dist/3.0E-U8/up2date/4.4.69-10
/dist/3.0E-U8/rhnlib/1.8.7-3
Comment 12 Beth Nackashi 2006-06-01 13:11:52 EDT
mode has been added to the up2date-uuid list of excludes:

%config(noreplace) %verify(not md5 size mtime mode) /etc/sysconfig/rhn/up2date
%config(noreplace) %verify(not md5 size mtime mode) /etc/sysconfig/rhn/up2date-uuid
Comment 14 Red Hat Bugzilla 2006-07-20 11:14:33 EDT
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 the 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-2006-0465.html

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