Bug 1037740 - ibus-table-additional postinstall script modifies files and fails verification
Summary: ibus-table-additional postinstall script modifies files and fails verification
Keywords:
Status: CLOSED DUPLICATE of bug 983497
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ibus-table
Version: 6.5
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Mike FABIAN
QA Contact: QE Internationalization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-03 17:34 UTC by Ross Smith
Modified: 2013-12-03 17:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-03 17:49:34 UTC
Target Upstream Version:


Attachments (Terms of Use)

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?


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