Bug 670594 - cache file included in package manifest without verification flags
Summary: cache file included in package manifest without verification flags
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sound-juicer
Version: 5.6
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Bastien Nocera
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-18 18:31 UTC by Jonathan Billings
Modified: 2015-03-09 12:17 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-02 13:01:51 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Jonathan Billings 2011-01-18 18:31:15 UTC
Description of problem:
The sound-juicer package includes a cache file that is modified by it's own postinstall script, such that it will always fail to verify:
% rpm -V sound-juicer
S.5....T    /usr/share/icons/hicolor/icon-theme.cache

The postinstall script runs:
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache -q /usr/share/icons/hicolor;
fi

I looked at the spec file, and it is included in the package simply with:
%{_datadir}/icons/hicolor/*

I suspect this file probably shouldn't be included in the package at all, and if it needs to be include, perhaps it would be a good idea to specifically include that file with %verify flags on it, such as:
%verify(not md5 size mtime) /usr/share/icons/hicolor/icon-theme.cache

Version-Release number of selected component (if applicable):
sound-juicer-2.16.0-3.el5

How reproducible:
As long as the package is installed, it generates the verification failure.

Steps to Reproduce:
1. Install the sound-juicer package
2. Run "rpm -V sound-juicer"
3.
  
Actual results:
% rpm -V sound-juicer
S.5....T    /usr/share/icons/hicolor/icon-theme.cache

Expected results:
% rpm -V sound-juicer
(no output)


Additional info:

Comment 1 Jonathan Billings 2011-01-18 18:35:30 UTC
I noticed that in the spec file for Fedora, there's this in the %install:

rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache

Comment 2 RHEL Program Management 2014-03-07 12:38:39 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 3 RHEL Program Management 2014-06-02 13:01:51 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).


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