iscsistart fails with the following error: iscsistart: peeruser_unix: unknown local user with uid 0 It seems that iscsistart calls getpwuid which fails since neither the password file or the nss modules are available.
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.