Bug 2047954
| Summary: | rpm -V / --verify mentions modified /usr/share/ibus-table/tables/yong.db | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Jaburek <jjaburek> |
| Component: | ibus-table-chinese | Assignee: | Mike FABIAN <mfabian> |
| Status: | CLOSED ERRATA | QA Contact: | Sanket Saikia <ssaikia> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | bbarve, eng-i18n-bugs, mfabian, petersen, pwu |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ibus-table-chinese-1.8.3-10.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 13:58:18 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: | |
| Embargoed: | |||
|
Description
Jiri Jaburek
2022-01-28 23:10:35 UTC
The yong.db file is created when build the package, and only slightly modified when install the package.
I think I will use the following line in the spec file.
%verify(not size md5 mtime) %{ibus_tables_dir}/yong.db
I think the databases should not be indexed in the post install scripts at all. If any indexing is necessary, it should better be done at build time. Currently no indexing is done anyway, i.e. the “indexing” currently done in post install scripts achieves nothing apart from changing the time stamps of the files. Update for Fedora rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2022-26d5e26723 https://src.fedoraproject.org/rpms/ibus-table-chinese/c/36aa7bd140443a4d7dfeeed8cc0ab9001c6768c7?branch=rawhide https://gitlab.com/redhat/centos-stream/rpms/ibus-table-chinese/-/merge_requests/4 is merged into the c9s branch now. Building ibus-table-chinese-1.8.3-10.el9 for c9s-candidate Created task: 947610 Task info: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=947610 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 (new packages: ibus-table-chinese), 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://access.redhat.com/errata/RHBA-2022:2627 |