Bug 490818 - [PATCH] mkdumprd's interaction with mdadm could be improved
[PATCH] mkdumprd's interaction with mdadm could be improved
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kexec-tools (Show other bugs)
5.3
All Linux
low Severity low
: rc
: ---
Assigned To: Neil Horman
Red Hat Kernel QE team
:
: 500098 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-18 03:22 EDT by Harshula Jayasuriya
Modified: 2009-09-02 05:14 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 600591 (view as bug list)
Environment:
Last Closed: 2009-09-02 05:14:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch against TOT mkdumprd (1003 bytes, patch)
2009-03-18 03:26 EDT, Harshula Jayasuriya
no flags Details | Diff

  None (edit)
Description Harshula Jayasuriya 2009-03-18 03:22:12 EDT
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
Comment 1 Harshula Jayasuriya 2009-03-18 03:26:04 EDT
Created attachment 335661 [details]
Patch against TOT mkdumprd
Comment 2 Harshula Jayasuriya 2009-03-19 20:56:31 EDT
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.
Comment 3 Neil Horman 2009-03-23 13:15:31 EDT
in 1.102pre-60.el5.  Thanks!
Comment 5 Neil Horman 2009-05-12 10:27:21 EDT
*** Bug 500098 has been marked as a duplicate of this bug. ***
Comment 7 Neil Horman 2009-07-16 08:54:59 EDT
*** Bug 509947 has been marked as a duplicate of this bug. ***
Comment 9 Neil Horman 2009-07-21 11:22:12 EDT
I'm moving this back to MODIFIED, Since I'm fixing the remaining cosmetic problems for this bug in bz 509947
Comment 14 errata-xmlrpc 2009-09-02 05:14:01 EDT
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

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