Bug 436335
Summary: | mkinitrd should not depend on device-mapper-multipath | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Bryn M. Reeves <bmr> | ||||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED CANTFIX | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 5.1 | CC: | tao | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-07-15 17:33:33 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
Bryn M. Reeves
2008-03-06 16:13:41 UTC
Created attachment 298386 [details]
Patch to check for static multipath tools & abort if not present
Add a runtime check to mkinitrd and abort if static multipath tools are not
present.
Created attachment 298387 [details]
Patch to check for static multipath tools & warn/fallback to single path if not present
Add a runtime check for static multipath tools to mkinitrd and warn but
continue to create a non-multipath image.
Although there are other fatal errors in mkinitrd that will abort the script they seem to be for somewhat less likely error cases; the patch in comment #2 will e.g. prevent automatic kernel updates from working (since building the image will abort when new-kernel-pkg runs mkinitrd). The second patch in comment #3 avoids this by issuing a warning & falling back to a non-multipath image (similar to the warning given when a module does not exist for the target kernel). This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. There's really no way to do this correctly until we can specify ordering constraints that /aren't/ dependencies in rpm packages. If we're /using/ multipath, then we need to have it installed before mkinitrd is. The only way to constrain that currently is to have the package require it. |