diff --git a/kdump.conf b/kdump.conf index 480bef9..edecfa8 100644 --- a/kdump.conf +++ b/kdump.conf @@ -8,10 +8,10 @@ # # Basics commands supported are: # raw - will dd /proc/vmcore into -# net - will mount fs and copy /proc/vmcore to +# - will mount fs and copy /proc/vmcore to # /var/crash/%DATE/ , supports DNS -# net - will scp /proc/vmcore to -# :/var/crash/%DATE/, supports DNS +# - will scp /proc/vmcore to +# :/var/crash/%DATE/, supports DNS # - will mount -t /mnt and copy /proc/vmcore to # /mnt/var/crash/%DATE/ # default reboot - if all of the above fail, then reboot the system @@ -21,4 +21,6 @@ #raw /dev/sda5 #ext3 /dev/sda3 +#my.server.com:/export/tmp +#user@my.server.com #default reboot diff --git a/kexec-tools.spec b/kexec-tools.spec index 33d8c94..68e08fe 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 1.101 -Release: 44%{dist} +Release: 45%{dist} License: GPL Group: Applications/System Summary: The kexec/kdump userspace component. @@ -143,6 +143,11 @@ exit 0 %doc TODO %changelog +* Fri Aug 18 2006 Neil Horman - 1.101-45%{dist} +- fixed typo in mkdumprd for bz 202983 +- fixed typo in mkdumprd for bz 203053 +- clarified docs in kdump.conf with examples per bz 203015 + * Tue Aug 15 2006 Neil Horman - 1.101-44%{dist} - updated init script to implement status function/scrub err messages diff --git a/mkdumprd b/mkdumprd index 7aa4589..eb5293b 100644 --- a/mkdumprd +++ b/mkdumprd @@ -833,7 +833,7 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then #find ethernet device used to route to remote host, ie eth0 netdev=`/sbin/ip route get to $rhost 2>&1` [ $? != 0 ] && echo "Bad kdump location: $location" && continue - netdev=`echo $netdev|awk '{print $3;}'|head -n 1` + netdev=`echo $netdev|awk '{print $5;}'|head -n 1` #add the ethernet device to the list of modules handlenetdev $netdev @@ -1080,8 +1080,8 @@ if [ -n "$KDUMP_CONFIG_FILE" ]; then tmnt=`mktemp -dq` kdump_chk "mount -t nfs -o nolock $rlocation $tmnt" \ "Bad NFS mount $location" - mkdir -p /mnt/var/crash - tdir=`mktemp -dqp /mnt/var/crash` + mkdir -p $tmnt/var/crash + tdir=`mktemp -dqp $tmnt/var/crash` rc=$? && rm -rf $tdir && umount $tmnt && rm -rf $tmnt if [ $rc != "0" ]; then