Bug 1382315 - mecabrc fails rpm -V in default install
Summary: mecabrc fails rpm -V in default install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-mysql57
Version: rh-mysql57
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 2.3
Assignee: Databases Maintanance List
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-06 10:48 UTC by Karel Volný
Modified: 2016-11-15 10:01 UTC (History)
5 users (show)

Fixed In Version: rh-mysql57-mecab-0.996-1.el6.8 rh-mysql57-mecab-0.996-1.el7.8
Doc Type: Known Issue
Doc Text:
Verification of the rh-mysql57-mecab package by using the "rpm -V" command fails. You can safely ignore an error message about modifications of the package content, it is a false positive.
Clone Of:
Environment:
Last Closed: 2016-11-15 10:01:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:2723 0 normal SHIPPED_LIVE new packages: rh-mysql57 2016-11-15 14:34:13 UTC

Description Karel Volný 2016-10-06 10:48:33 UTC
Description of problem:
The configuration file
/etc/opt/rh/rh-mysql57/mecabrc
should be marked with appropriate %verify directive in the specfile so that it does not fail the verification.
The file is getting modified on installation of rh-mysql57-mecab-ipadic so that it cannot match its properties stored in rpm even after clean install, without any user modification needed.

Version-Release number of selected component (if applicable):
rh-mysql57-mecab-0.996-1.el6.7
rh-mysql57-mecab-0.996-1.el7.7

How reproducible:
always

Steps to Reproduce:
1. yum install rh-mysql57-mecab-ipadic
2. rpm -V rh-mysql57-mecab

Actual results:
rh-mysql57-mecab.x86_64: /etc/opt/rh/rh-mysql57/mecabrc S.5....T. c

Expected results:
(no such error)

Additional info:
https://wiki.test.redhat.com/Faq/Tps/VerifyTest#Summary

Comment 1 Honza Horak 2016-10-06 20:49:38 UTC
The %verify would make also any further changes not being shown. What about this solution:
* hardcode the path in the config file during RPM build already
* introduce an RPM dependency on rh-mysql57-mecab-ipadic in rh-mysql57-mecab, since ipadic is the only dictionary we provide in the SCL

Does this sound fine?

Comment 3 Karel Volný 2016-10-17 13:03:16 UTC
(In reply to Honza Horak from comment #1)
> The %verify would make also any further changes not being shown.

I know, but that was agreed as being lesser of the two evils, see the link, ask the author about the source of this policy (I vaguely remember some customer complaints in the dark past) ...

> What about this solution:
> * hardcode the path in the config file during RPM build already
> * introduce an RPM dependency on rh-mysql57-mecab-ipadic in
> rh-mysql57-mecab, since ipadic is the only dictionary we provide in the SCL
> 
> Does this sound fine?

doesn't sound like a solution sustainable in the long-term ... how do we know that no one will want to install different dictionary in the future?

Comment 8 errata-xmlrpc 2016-11-15 10:01:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2723.html


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