Bug 1274194

Summary: Install rpm packages will report bus error randomly on RHEL 7 and RHEL 7.1
Product: Red Hat Enterprise Linux 7 Reporter: tsaijim <jtsai10>
Component: libdbAssignee: Matej Mužila <mmuzila>
Status: CLOSED WONTFIX QA Contact: RHEL CS Apps Subsystem QE <rhel-cs-apps-subsystem-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.1CC: brault, bwelterl, charles.wright, databases-maint, hhorak, jiazhang, jtsai10, jzeleny, ksrot, mail, mbliss, mmuzila, pkubat, pmatilai, pmoravco, spanjikk
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-11 21:51:55 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:
Bug Depends On:    
Bug Blocks: 1295396    
Attachments:
Description Flags
strace of bus error on rhel 7.4 none

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