Bug 209189 - kdump saves a vmcore under the directory whose name has wrong panic date
Summary: kdump saves a vmcore under the directory whose name has wrong panic date
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools
Version: 5.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: Neil Horman
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-03 19:38 UTC by Nobuhiro Tachino
Modified: 2007-11-30 22:07 UTC (History)
3 users (show)

Fixed In Version: beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-23 01:01:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nobuhiro Tachino 2006-10-03 19:38:01 UTC
Description of problem:

kdump saves a vmcore under the directory whose name has wrong panic date. 

Version-Release number of selected component (if applicable):

kexec-tools-1.101-74

How reproducible:

Always.

Steps to Reproduce:
1. 
2.
3.
  
Actual results:

# ls /var/crash
127.0.0.1-2006-46-03-09:46:56

Expected results:

# ls /var/crash
127.0.0.1-2006-10-03-09:46:56


Additional info:

The following on liner fixes the problem.

@@ -1357,7 +1363,7 @@
     echo "$KDUMP_CONFIG_FILE: $2"
     exit 1
 }
-    emit "DATE=\`date +%Y-%M-%d-%T\`"
+    emit "DATE=\`date +%Y-%m-%d-%T\`"
 if [ -n "$KDUMP_CONFIG_FILE" ]; then
     memtotal=`cat /proc/meminfo | grep MemTotal | awk '{print $2}'`

Comment 1 Jay Turner 2006-10-04 12:45:36 UTC
QE ack for RHEL5GA.  Needs to be fixed before shipping, otherwise it's recording
invalid data.

Comment 2 RHEL Program Management 2006-10-04 12:46:49 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux release.  Product Management has requested further review
of this request by Red Hat Engineering.  This request is not yet committed for
inclusion in release.

Comment 3 Neil Horman 2006-10-04 15:08:24 UTC
fixed in -78.el5

Comment 4 Nobuhiro Tachino 2006-10-04 16:07:39 UTC
I confirmed kexec-tools-1.101-78 fixes the bug on my box.


Comment 5 RHEL Program Management 2006-12-23 01:01:51 UTC
A package has been built which should help the problem described in 
this bug report. This report is therefore being closed with a resolution 
of CURRENTRELEASE. You may reopen this bug report if the solution does 
not work for you.



Note You need to log in before you can comment on or make changes to this bug.