Resolves: bz215056
This commit is contained in:
parent
8ccc89f511
commit
42b55e6012
@ -1,6 +1,6 @@
|
|||||||
Name: kexec-tools
|
Name: kexec-tools
|
||||||
Version: 1.101
|
Version: 1.101
|
||||||
Release: 62%{?dist}
|
Release: 63%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: The kexec/kdump userspace component.
|
Summary: The kexec/kdump userspace component.
|
||||||
@ -237,6 +237,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
|
|||||||
%doc kexec-kdump-howto.txt
|
%doc kexec-kdump-howto.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 15 2007 Neil Horman <nhorman@redhat.com> - 1.101-63%{dist}
|
||||||
|
- Adding extra check to avoid oom kills on nfs mount failure (bz 215056)
|
||||||
|
|
||||||
* Tue Mar 06 2007 Neil Horman <nhorman@redhat.com> - 1.101-62%{dist}
|
* Tue Mar 06 2007 Neil Horman <nhorman@redhat.com> - 1.101-62%{dist}
|
||||||
- Updating makedumpfile to version 1.1.1 (bz 2223743)
|
- Updating makedumpfile to version 1.1.1 (bz 2223743)
|
||||||
|
|
||||||
|
13
mkdumprd
13
mkdumprd
@ -1569,15 +1569,18 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then
|
|||||||
#setup nfs case
|
#setup nfs case
|
||||||
mkdir -p $MNTIMAGE/mnt
|
mkdir -p $MNTIMAGE/mnt
|
||||||
emit "mount -t nfs -o nolock $rlocation /mnt"
|
emit "mount -t nfs -o nolock $rlocation /mnt"
|
||||||
emit "mkdir -p /mnt/$SAVE_PATH/$lhost-\$DATE"
|
|
||||||
emit "$CORE_COLLECTOR /proc/vmcore /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore-incomplete"
|
|
||||||
emit "if [ \$? == 0 ]"
|
emit "if [ \$? == 0 ]"
|
||||||
emit "then"
|
emit "then"
|
||||||
emit " mv /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore-incomplete /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore"
|
emit " mkdir -p /mnt/$SAVE_PATH/$lhost-\$DATE"
|
||||||
|
emit " $CORE_COLLECTOR /proc/vmcore /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore-incomplete"
|
||||||
|
emit " if [ \$? == 0 ]"
|
||||||
|
emit " then"
|
||||||
|
emit " mv /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore-incomplete /mnt/$SAVE_PATH/$lhost-\$DATE/vmcore"
|
||||||
|
emit " umount /mnt"
|
||||||
|
emit " reboot -f"
|
||||||
|
emit " fi"
|
||||||
emit " umount /mnt"
|
emit " umount /mnt"
|
||||||
emit " reboot -f"
|
|
||||||
emit "fi"
|
emit "fi"
|
||||||
emit "umount /mnt"
|
|
||||||
else
|
else
|
||||||
#SSH path
|
#SSH path
|
||||||
#rebuild $location replacing machine name with ip address
|
#rebuild $location replacing machine name with ip address
|
||||||
|
Loading…
Reference in New Issue
Block a user