Bug 245645
Summary: | port RHEL5 iscsi root boot mkinitrd fix to Fedora. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike Christie <mchristi> | ||||
Component: | mkinitrd | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 9 | CC: | hdegoede, k.georgiou | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-10-27 15:47:51 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 235705, 435248 | ||||||
Attachments: |
|
Description
Mike Christie
2007-06-25 20:50:22 UTC
Created attachment 157810 [details]
Port RHEL5 iscsi boot mkinitrd fixes to fedora.
This is absolutely necessary for proper iSCSI root support in Fedora >= 8 as paths of the db changed and thus current code no longer works. This worked for me perfectly. Alternetively, this can be done to use the correct paths, but it is not a good idea at all: --- /sbin/mkinitrd.orig 2008-02-05 23:21:49.000000000 +0100 +++ /sbin/mkinitrd 2008-02-05 23:21:53.000000000 +0100 @@ -615,6 +615,7 @@ iscsi_set_parameters() { tpgt=${ipt[2]} path=/var/lib/iscsi/nodes/${tgt_name}/${tgt_ipaddr},${tgt_port} + [ -d "${path}" ] || path=${path},${tpgt} # Note: we get chap secrets (passwords) in plaintext, and also store # them in the initrd. Ping *** Bug 435248 has been marked as a duplicate of this bug. *** I'm for this in principle, but have very little time to work on it. An updated patch that represents changes to the more recent tree would help, and we also need to be sure the associated changes to mount, util-linux, and anaconda are merged. Peter? What changes? This patch applies cleanly to the current tree and is the last thing that is needed for iscsi instalations to work. I fully understand that you have little time; on the other hand I am sure there are poeple with enough time out there to help with that. Please consider opening up access to the source code repository to Fedora contributors in cvsextras group, or call for a comaintainer in fedora-devel mailing list. There were several more changes after this patch was prepared, and they also need to be incorporated. Also, please understand that this request generally pertains to the upstream project, rather than to the package itself. Moving to F9 target Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This is fixed in 6.0.68-1, which will be in tomorrows rawhide. |