How to Install the Automated Bug Reporting Tool (ABRT) Package in RHEL 9 (How to Capture a Coredump in RHEL 9) – The Ranjan.info

H

The Automatic Bug Reporting Tool (ABRT) package is a utility developed by Red Hat, designed to automatically detect and report application crashes on Linux-based systems. ABRT plays a vital role in identifying software problems, collecting relevant data about crashes, and facilitating the submission of bug reports to assist in debugging and resolving problems.

This tool is especially valuable for system administrators, developers, and users who want to proactively address and resolve software crashes. ABRT helps streamline the bug reporting process by automating the collection of diagnostic information when crashes occur, making it easier for developers to understand and fix underlying issues.

Where is ABRT in RHEL 9?

The Automated Bug Reporting Tool (ABRT) is a feature developed by Red Hat, designed to automatically identify and report application crashes. However, it is noted that this tool is not available in Red Hat Enterprise Linux (RHEL) 9.

Option

In lieu of ABRT, RHEL 9 users can use the systemd coredumpctl functionality to collect application coredumps. This capability is built into systemd and is expected to be present on Oracle Linux 9 systems by default.

To manage and inspect collected application coredumps, follow the commands shown below:

1. To list all captured core dumps:

2. To provide a list of captured core dumps of an application or program:

3. To display details regarding a core dump related to a program with 'PID':

4. To launch the debugger with the latest core dump of a program:

# coredumpctl debug program

5. Use this command to extract the latest core dump of a program to a file:

# coredumpctl --output=path/to/file dump program

See the man page of coredumpctl for additional details:

Summary

SystemD's coredumpctl tool can significantly streamline working with core dumps on the machine where the crash occurred. This post explains how to capture a core dump of an unresponsive process.

Add comment

By Ranjan