Bug 794981
Summary: | kdump init script creates useless directory and empty vmcore file | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Takahisa Tanaka <mc74hc00> | ||||||||||
Component: | kexec-tools | Assignee: | Cong Wang <amwang> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Zhiyou Liu <zhiliu> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 6.2 | CC: | czhang, qcai, rkhan, ruyang | ||||||||||
Target Milestone: | rc | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | kexec-tools-2.0.0-227.el6 | Doc Type: | Bug Fix | ||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2012-06-20 12:06:54 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Takahisa Tanaka
2012-02-18 14:05:18 UTC
Created attachment 564052 [details]
Patch against kexec-tools-2.0.0-209.el6
Created attachment 564058 [details]
Modified patch against kexec-tools-2.0.0-209.el6
Sorry, The variable name DISK_DUMP_SINATURE was inappropriate. I reattach the patch which modified the variable name to MAKEDUMPFILE_SIGNATURE from DISK_DUMP_SINATURE.
Created attachment 564664 [details]
A better patch
This patch is a little better than yours, could you help to test this one please?
Thanks!
Sure! I'm going to test your patch. When a test finished, I'm going to report a test result. Regards, Takahisa Amerigo I finished the following tests. All tests are success. Please refer to the attached file for detail of test log. Test item 1. When kdump service is started, kdump init script doesn't create vmcore and directroy. 2. When panic occurred, kdump init script creates vmcore and directory. 3. kdump init script doesn't create vmcore and directroy, if raw partition doesn't have a correct dump data. 4. kdump service is stopped, if the dump device isn't a raw partition. 5. kdump service is stopped, if the mkdir command fails. 6. vmcore is created in specified directory, if the path directive is specified in kdump.conf. 7. vmcore is created in /var/crash, if the path directive is not specified in kdump.conf. Thank you for your quick response. Takahisa Created attachment 564959 [details]
Detail of test log
Excellent! Thanks a lot, Takahisa! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0758.html |