Bug 501476
Summary: | dmraid set activation from rc.sysinit should use kpartx to get partitions | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Winfrid Tschiedel <Winfrid.Tschiedel> | ||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 11 | CC: | gasmith, hdegoede, notting, rvokal | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 8.95.1-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-12-22 04:50:13 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
Winfrid Tschiedel
2009-05-19 11:46:09 UTC
Bill, The issue is not as much the naming being inconsistent (this is caused by the manual activation Winfied is doing). But that rc.sysinit uses dmraid to scan the partition table and create the partitioned /dev/mapper entries. Which unfortunately does not work. This is related to Bug 500322, which is about the same issue in mkinitrd. And yes I remember that I actually simplified things to no use kpartx in rc.sysinit while adding the --rm_partitions to the rc.sysinit dmraid invocation, sorry! You should be able to just drop in the old / RHEL-5 rc.sysinit code for dmraid except that: 1) You need to add --rm_partitions to the dmraid commandline 2) Do not use dm_resolve_name, just use the name from the 1st dmraid command as is. Winfrid, you can get rid of the inconsistent naming issue when manually activating the partitions by using kpartx like this: kpartx -a -p p /dev/mapper/pdc_cbbgheicjb Can you attach a patch? Created attachment 345282 [details] Patch fixing this (In reply to comment #2) > Can you attach a patch? Sure, here you go. I even tested it :) http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=c7f37c0df875621f718e554775658ed2afb73eef Will likely end up as an update at this point. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping initscripts-8.95.1-1 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/initscripts-8.95.1-1 initscripts-8.95.1-1 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update initscripts'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-12765 initscripts-8.95.1-1 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |