Bug 670594

Summary: cache file included in package manifest without verification flags
Product: Red Hat Enterprise Linux 5 Reporter: Jonathan Billings <jsbillin>
Component: sound-juicerAssignee: Bastien Nocera <bnocera>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 5.6   
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: 2014-06-02 13:01:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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).