Description of problem: When hardware clock is set as localtime, kdump saves vmcore under th directory which has a wrong date. This is not the same bug as BZ#209189. Version-Release number of selected component (if applicable): kexec-tools-1.101-78 How reproducible: Always. Steps to Reproduce: 1. set hardware clock to localtime. 2. set the UTF option to false in /etc/sysconfig/clock. 3. execute kdump. Actual results: Tha panic occured at localtime 12:37. The actual directory is the following: # ls -l /var/crash total 4 drwxr-xr-x 2 root root 4096 Oct 4 08:37 127.0.0.1-2006-10-04-08:37:25 Expected results: The directory name and timestamp should be the following. # ls -l /var/crash total 4 drwxr-xr-x 2 root root 4096 Oct 4 12:37 127.0.0.1-2006-10-04-12:37:25 Additional info: In the regular init sequence, hwclock correct the system time, but the init script in dump initrd does not do this. I think this is the cause of the bug.
Created attachment 137813 [details] patch to add clock adjustment to init script I think your right. Please try this patch to see if it corrects the problem.
-hctosys option required one more dash, but after it was fixed, the patch worked fine. I confirmed it works on both localtime and UTC. Thanks!
fixed in -83.el5. Thanks!
kexec-tools-1.101-164.el5 included in 20070208.0.