Abrt Mail Configuration on RHEL7

ABRT :: Automatic Bug Reporting tool, On RHEL7 we can configure the system to send mail on every crash along with other information.

1. Install all required rpms :: abrt-tui abrt-addon-ccpp libreport-plugin-mailx

2. Update file /etc/abrt/abrt-action-save-package-data.conf – It allows you to modify the behaviour of the abrt-action-save-package-data program. I have ::

OpenGPGCheck = no — if yes, crashes will be detected only in the applications whose packages are signed by the GPG keys. No means crashes will be reported in all programs even not signed by GPG.

ProcessUnpackaged = yes — yes means, process crashes in executables that do not belong to any package. The default setting is no.

3. Configure mailx plugin by modifying /etc/libreport/plugins/mailx.conf, define Subject, EmailFrom, EmailTo and SendBinaryData

4. Restart the services abrtd and abrt-ccpp.

5. Enable abrt-auto-reporting, sudo abrt-auto-reporting enabled.

6. /usr/bin/abrt-cli list shows crashes with the abrt crash directories created, go to the directory, and execute

            /usr/bin/abrt-action-install-debuginfo -v;
            /usr/bin/abrt-action-generate-backtrace -v;
            /usr/bin/reporter-mailx -v




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s