Bug 1037740

Summary: ibus-table-additional postinstall script modifies files and fails verification
Product: Red Hat Enterprise Linux 6 Reporter: Ross Smith <rjsm>
Component: ibus-tableAssignee: Mike FABIAN <mfabian>
Status: CLOSED DUPLICATE QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: eng-i18n-bugs, mfabian
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: 2013-12-03 17:49:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ross Smith 2013-12-03 17:34:40 UTC
Description of problem:
The post install script of the package runs the commands:
postinstall scriptlet (using /bin/sh):
ibus-table-createdb -i -n /usr/share/ibus-table/tables/compose.db
ibus-table-createdb -i -n /usr/share/ibus-table/tables/latex.db

These commands modify the the files compose.db and latex.db, which then fail verification and are reinstalled by our CMS.


Version-Release number of selected component (if applicable):
ackage version: 1.2.0.20100111 (4.el6)

How reproducible: Always


Steps to Reproduce:
1. install ibus-additional-table
2. rpm -V ibus-table-additional
3. see files not verifying

Actual results:
package fails verification
-bash-4.1$ rpm -V ibus-table-additional
..5....T.    /usr/share/ibus-table/tables/compose.db
..5....T.    /usr/share/ibus-table/tables/latex.db

Expected results:
Package passes verification

Additional info:
I believe those commands could be moved into the %build section of the spec and it would have the same effect without causing package verification issues.

Comment 2 Mike FABIAN 2013-12-03 17:49:34 UTC

*** This bug has been marked as a duplicate of bug 983497 ***

Comment 3 Ross Smith 2013-12-03 17:59:46 UTC
I don't have access to the original bug.  Could you at least add me to the cc list of the original or open access to the original bug?