RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1274194 - Install rpm packages will report bus error randomly on RHEL 7 and RHEL 7.1
Summary: Install rpm packages will report bus error randomly on RHEL 7 and RHEL 7.1
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libdb
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Matej Mužila
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks: 1295396
TreeView+ depends on / blocked
 
Reported: 2015-10-22 08:46 UTC by tsaijim
Modified: 2023-09-07 18:43 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-11 21:51:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
strace of bus error on rhel 7.4 (567.94 KB, text/plain)
2018-04-12 14:00 UTC, charles.wright
no flags Details

Description tsaijim 2015-10-22 08:46:43 UTC
Description of problem:
When we install some rpm packages using rpm or yum command,the OS will report bus error randomly. If we reboot the system, the problem will be eliminated. However, it happens periodically and randomly.


Version-Release number of selected component (if applicable):
3.10.0-229.e17.x86_64

How reproducible:


Steps to Reproduce:
1. Install RHEL 7 or RHEL 7.1
2. rpm -ivh /cluster/software/openmpi/rhels7.1/openmpi-1.8.5-1.x86_64-MOFED.rpm
   or yum install -y rpm-build
   or rpm -ivh gpfs.base-4.1.0-1.x86_64.rpm gpfs.docs-4.1.0-1.noarch.rpm 
   gpfs.ext-4.1.0-1.x86_64.rpm gpfs.msg.en_US-4.1.0-1.noarch.rpm gpfs.gpl-4.1.0-   1.noarch.rpm gpfs.gskit-8.0.50-16.x86_64.rpm (for example)

3. System will report bash: line 1:  3512 Bus error or bus error


Actual results:
System will report BUS error messages

Expected results:
Pakcages should be installed successfully.

Additional info:
This issue hasn't been seen on SLES OS.

Comment 2 Karel Srot 2015-12-21 07:46:15 UTC
Hello,
thank you for the bug report. Could you please confirm that this is still an issue on RHEL-7.2? Also, could you confirm that the problem appears independently on the package being installed? How frequently does it happen?

Comment 3 Jan Zeleny 2016-01-13 12:36:20 UTC
After consultation with Florian, we need a reproducer first. We will investigate but at this point we can't guarantee any results.

Comment 5 Arif Ali 2016-08-10 20:41:26 UTC
I have seen this on an installation with CentOS 7.2 as well.

I have for 200 machines in one instance, and once rebooting all the node, I can at least see 10 nodes reporting this issue

I have in the situation resolved the problem by running "rpm --rebuilddb"

Current version of kernel running is 3.10.0-327.22.2.el7.x86_64

Comment 6 Panu Matilainen 2016-10-17 10:50:54 UTC
At the very least a traceback of the crash would be needed to even start investigating since this is not generally reproducable -> NEEDINFO.

Comment 7 charles.wright 2018-04-12 14:00:08 UTC
Created attachment 1420848 [details]
strace of bus error on rhel 7.4

Comment 9 Petr Kubat 2018-07-24 10:30:19 UTC
From the strace it looks like a duplicate of bug 1471011 which is already fixed for RHEL 7.5.

Can you verify if the issue goes away when using 7.5?

Comment 10 Karel Srot 2018-07-24 11:23:19 UTC
In case this is really libdb issue reported in bug 1471011, does addressing it in libdb resolve the issue also for rpm? Or is this just a symptom of something wrong being happening? See bug 1471011#c5.

Comment 11 Petr Kubat 2018-07-24 11:33:14 UTC
Ah right, I forgot the fix in bug 1471011 does not really prevent the issue from happening - it merely transforms the original core dump into a more helpful error message.

So yes, to completely avoid the issue here would mean to first get to the bottom of what the (I guess) removal of libdb environment files is caused by. Since it definitely should not happen when libdb itself is accessing them.

Comment 33 Chris Williams 2020-11-11 21:51:55 UTC
Red Hat Enterprise Linux 7 shipped it's final minor release on September 29th, 2020. 7.9 was the last minor releases scheduled for RHEL 7.
From intial triage it does not appear the remaining Bugzillas meet the inclusion criteria for Maintenance Phase 2 and will now be closed. 

From the RHEL life cycle page:
https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase
"During Maintenance Support 2 Phase for Red Hat Enterprise Linux version 7,Red Hat defined Critical and Important impact Security Advisories (RHSAs) and selected (at Red Hat discretion) Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available."

If this BZ was closed in error and meets the above criteria please re-open it flag for 7.9.z, provide suitable business and technical justifications, and follow the process for Accelerated Fixes:
https://source.redhat.com/groups/public/pnt-cxno/pnt_customer_experience_and_operations_wiki/support_delivery_accelerated_fix_release_handbook  

Feature Requests can re-opened and moved to RHEL 8 if the desired functionality is not already present in the product. 

Please reach out to the applicable Product Experience Engineer[0] if you have any questions or concerns.  

[0] https://bugzilla.redhat.com/page.cgi?id=agile_component_mapping.html&product=Red+Hat+Enterprise+Linux+7


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