RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 979240 - kdump saved vmcore didnt used system timezone
Summary: kdump saved vmcore didnt used system timezone
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kexec-tools
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: WANG Chao
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-28 03:34 UTC by Xiaoqing Wei
Modified: 2015-02-08 21:44 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-14 13:34:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xiaoqing Wei 2013-06-28 03:34:42 UTC
Description of problem:

setting the machine to CST timezone then trigger a kdump, the dir under /var/crash is not named using CST timezone

Version-Release number of selected component (if applicable):
kexec-tools-2.0.4-2.el7.x86_64
3.10.0-0.rc6.63.el7.x86_64
How reproducible:

100%

Steps to Reproduce:
1. install a host using ks and set timezone to below
grep -i time /root/anaconda-ks.cfg 
# System timezone
timezone Asia/Shanghai --isUtc 
2. trigger a kdump
3.

Actual results:
# ll /var/crash
total 0
drwxr-xr-x. 2 root root 42 Jun 26 18:22 127.0.0.1-2013.06.26-09:54:43
drwxr-xr-x. 2 root root 42 Jun 27 11:04 127.0.0.1-2013.06.26-11:23:08
                           ^^^^^^^^^^^^ 
the FS timestamp using system timezone            ^^^^^^
                                                  the folders isn't, so the kexecing kernel didn't used the system timezone.

Expected results:

tested on a rhel6 machine, kexecing kernel used system timezone

[root@dhcp-10-30 ~]# grep -i time /root/anaconda-ks.cfg 
timezone --utc Asia/Shanghai
[root@dhcp-10-30 ~]# ll /var/crash/
total 4
drwxr-xr-x. 2 root root 4096 Jun 28 11:20 127.0.0.1-2013-06-28-11:19:58
[root@dhcp-10-30 ~]# uname -r
2.6.32-220.39.1.el6.x86_64

Additional info:

Comment 2 WANG Chao 2013-10-14 13:34:50 UTC
We have fixed it in kexec-tools-2.0.4-7. So I'm closing this bz. Feel free to reopen it if you meet this issue again.


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