rpms/kexec-tools/devel kdump.conf, 1.1, 1.2 kexec-tools.spec, 1.53, 1.54 mkdumprd, 1.2, 1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Aug 18 17:00:48 UTC 2006


Author: nhorman

Update of /cvs/dist/rpms/kexec-tools/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv677

Modified Files:
	kdump.conf kexec-tools.spec mkdumprd 
Log Message:
fixing several typo bugs


Index: kdump.conf
===================================================================
RCS file: /cvs/dist/rpms/kexec-tools/devel/kdump.conf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kdump.conf	20 Jul 2006 03:36:18 -0000	1.1
+++ kdump.conf	18 Aug 2006 17:00:45 -0000	1.2
@@ -8,10 +8,10 @@
 #
 # Basics commands supported are:
 # raw <partition> - will dd /proc/vmcore into <partition>
-# net <nfs mount> - will mount fs and copy /proc/vmcore to 
+# <nfs mount>     - will mount fs and copy /proc/vmcore to 
 #			<mnt>/var/crash/%DATE/ , supports DNS
-# net <ssh user at location> - will scp /proc/vmcore to 
-#				<user at location>:/var/crash/%DATE/, supports DNS
+# <user at location> - will scp /proc/vmcore to 
+#			<user at location>:/var/crash/%DATE/, supports DNS
 # <fs type> - will mount -t <fs type> /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 at my.server.com
 #default reboot


Index: kexec-tools.spec
===================================================================
RCS file: /cvs/dist/rpms/kexec-tools/devel/kexec-tools.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- kexec-tools.spec	15 Aug 2006 15:16:07 -0000	1.53
+++ kexec-tools.spec	18 Aug 2006 17:00:45 -0000	1.54
@@ -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 @@
 %doc TODO
 
 %changelog
+* Fri Aug 18 2006 Neil Horman <nhorman at redhat.com> - 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 <nhorman at redhat.com> - 1.101-44%{dist}
 - updated init script to implement status function/scrub err messages
  


Index: mkdumprd
===================================================================
RCS file: /cvs/dist/rpms/kexec-tools/devel/mkdumprd,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mkdumprd	20 Jul 2006 03:36:18 -0000	1.2
+++ mkdumprd	18 Aug 2006 17:00:45 -0000	1.3
@@ -833,7 +833,7 @@
             #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 @@
                         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 




More information about the fedora-cvs-commits mailing list