Have you encountered the error message “abrtd doesn’t belong to any package and ProcessUnpackaged is set to ‘no’” on your CentOS or Red Hat Linux system?.Β Automatic Bug Reporting Tool,Β Β abbreviated asΒ ABRT, consists of theΒ abrtdΒ daemon and a number of system services and utilities to process, analyze, and report detected problems.
The abrtd daemon always runs in the background andΒ springs into action when an application crashes or a kernel oops is detected to collect the relevant problem data such as a core file if there is one, the crashing application’s command-line parameters, and other data of forensic utility.
The path where the problemsΒ detected are logged is:
/var/spool/abrt - (CentOS 6) /var/tmp/abrt - (CentOS 7)
Note you may need to install ABRT CentOS 7 by running the command:
sudo yum install abrt-cli
The aforementioned error message meansΒ abrtd cannot create the core of a program which does not belong to any package. This means a process that crashed has an executableΒ which does not belong to any package
To solve this limitation, you need to edit the file
sudo vimΒ /etc/abrt/abrt-action-save-package-data.conf
Then change the parameter ProcessUnpackagedΒ to yes
# Process crashes in executables which do not belong to any package? # ProcessUnpackaged = yes
Restart abrtdΒ service after making the change
sudo systemctl restartΒ abrtd # CentOS 7,x sudo serviceΒ abrtd restart # CentOS 6.x
That’s all, ABRT should now be able to create the core of a program when it crashes.