EVENT=post-create analyzer=CCpp # abrt-action-generate-core-backtrace: # try generating backtrace, if it fails we can still use # the UUID generated by abrt-action-analyze-c: #(disabled for RHEL - it needs gdb, which isn't always installed) #abrt-action-generate-core-backtrace abrt-action-analyze-c && abrt-action-list-dsos -m maps -o dso_list && ( # Try to save relevant log lines. # Can't do it as analyzer step, non-root can't read log. # It's not an error if /var/log/messages isn't readable: test -f /var/log/messages || exit 0 test -r /var/log/messages || exit 0 executable=`cat executable` && base_executable=${executable##*/} && log=`grep -F -e "$base_executable" /var/log/messages | tail -99` && if test -n "$log"; then printf "%s\n" "$log" >var_log_messages # echo "Element 'var_log_messages' saved" fi ) EVENT=collect_xsession_errors analyzer=CCpp dso_list~=.*/libX11.* test -f ~/.xsession-errors || { echo "No ~/.xsession-errors"; exit 1; } test -r ~/.xsession-errors || { echo "Can't read ~/.xsession-errors"; exit 1; } executable=`cat executable` && base_executable=${executable##*/} && grep -F -e "$base_executable" ~/.xsession-errors | tail -999 >xsession_errors && echo "Element 'xsession_errors' saved" # TODO: can we still specify additional directories to search for debuginfos, # or was this ability lost with move to python installer? EVENT=analyze_LocalGDB analyzer=CCpp # debuginfo install is disabled by default on rhel # if you want to enable it, just remove the --without-di abrt-action-analyze-ccpp-local --without-di --without-bz --without-bodhi # Bugzilla requires nonempty duphash #EVENT=report_Bugzilla analyzer=CCpp duphash!= # abrt-dedup-client # test -f component || abrt-action-save-package-data # reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf