Bug 283801
| Summary: | iscsistart fails on initrd image. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Kostas Georgiou <k.georgiou> |
| Component: | iscsi-initiator-utils | Assignee: | Mike Christie <mchristi> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | agrover, dcantrell, lkundrak |
| 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-02-09 20:19: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: | |||
|
Description
Kostas Georgiou
2007-09-09 02:36:11 UTC
Is there any way to help? I would really love to get iSCSI root working again in fedora :) I am working on a patch. I should hopefully have something monday for you to test. Any luck yet? :) I thought it was a problem like you described in the bug report, but for
iscsistart we do some hokey magic and compile iscsistart with:
statics.c:
static struct passwd root_pw = {
.pw_name = "root",
};
struct passwd*
getpwuid(uid_t uid)
{
if (uid == 0)
return &root_pw;
else {
errno = ENOENT;
return 0;
}
}
Are you using the iscsi-initiator-utils iscsistart? And what version of
iscsi-initiator-utils is it?
Ah ignore my comment #44. For F7 and above we are not compiling it as static, so the patch for this bz https://bugzilla.redhat.com/show_bug.cgi?id=225915 is what broke it. This should be fixed in iscsi-initiator-utils-6.2.0.865-0.2.fc8. That should go up soon. I will send a link to the rpm when it is ready. Aha I looked at the sources but I missed the static getpwuid. I see that iscsi-initiator-utils-6.2.0.865-0.2.fc8 has finished building in koji so I'll try to test it during the weekend. ISCSI root does work for me now. Does it do also for you? I didn't had the time to test with a recent rawhide :( If the xen kernel is functional I'll try to give it a go again. Unfortunately I am leaving for holidays so it might take some time if I don't find the time tomorrow. Since it's working for you and iscsistart is statically build now I am closing the bug. |