Bug 490818
| Summary: | [PATCH] mkdumprd's interaction with mdadm could be improved | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Harshula Jayasuriya <harshula> | ||||
| Component: | kexec-tools | Assignee: | Neil Horman <nhorman> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.3 | CC: | qcai, umed | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 600591 (view as bug list) | Environment: | |||||
| Last Closed: | 2009-09-02 09:14:01 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: |
|
||||||
Created attachment 335661 [details]
Patch against TOT mkdumprd
Hi Neil, re: Problem (2) from the original Description. I forget to mention that the mdadm binary is copied into the kdump initrd image. Hence it is available and can be called from initrd's init script. in 1.102pre-60.el5. Thanks! *** Bug 500098 has been marked as a duplicate of this bug. *** *** Bug 509947 has been marked as a duplicate of this bug. *** I'm moving this back to MODIFIED, Since I'm fixing the remaining cosmetic problems for this bug in bz 509947 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1258.html |
Description of problem: * As requested by Neil I am opening a bug for: 1) The regular expressions that search for the keyword "ARRAY" at the start of a line should match whitespace immediately after the keyword. e.g. "^ARRAY[[:space:]]" 2) On line 1664, why is /etc/mdadm.conf accessed directly instead of calling "mdadm --examine --scan"? ------------------------------------------- 1664 emit " for i in \`grep -v \"#\" /etc/mdadm.conf | awk '/.*ARRAY.*/{print \$2}'\`" ------------------------------------------- In the other instance where ARRAY information is required, mdadm is called. Version-Release number of selected component (if applicable): * The source code I'm referring to is from a TOT CVS checkout of kexec-tools Additional info: * I've attached a patch which addresses problem (1). Regards, Harshula