Resolves: bz533370

This commit is contained in:
Neil Horman 2009-11-06 19:03:58 +00:00
parent cd35d80c4d
commit 95b2cf1ec1
2 changed files with 15 additions and 1 deletions

View File

@ -49,6 +49,17 @@ function save_core()
else
$LOGGER "failed to save a vmcore to $coredir"
fi
# pass the dmesg to Abrt tool if exists, in order
# to collect the kernel oops message.
# https://fedorahosted.org/abrt/
if [ -x /usr/bin/dumpoops ]; then
makedumpfile --dump-dmesg $coredir/vmcore $coredir/dmesg >/dev/null 2>&1
dumpoops -d $coredir/dmesg >/dev/null 2>&1
if [$? == 0]; then
$LOGGER "kernel oops has been collected by abrt tool"
fi
fi
}
function check_config()

View File

@ -1,6 +1,6 @@
Name: kexec-tools
Version: 2.0.0
Release: 27%{?dist}
Release: 28%{?dist}
License: GPLv2
Group: Applications/System
Summary: The kexec/kdump userspace component.
@ -264,6 +264,9 @@ done
%changelog
* Fri Nov 06 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-28
- Added abrt infrastructure to kdump init script (bz 533370)
* Tue Sep 15 2009 Neil Horman <nhorman@redhat.com> - 2.0.0-27
- Fixing permissions on dracut module files