Bug 1594946
Summary: | libiscsi.so.0: undefined symbol: iscsi_session_persistent_address_get in iscsi-initiator-utils-6.2.0.876-1.git4ef9261.fc29 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
Component: | iscsi-initiator-utils | Assignee: | Chris Leech <cleech> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | agrover, cleech, fge, mchristi, robatino, vtrefny |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-30 23:03:41 UTC | Type: | Bug |
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: | 1517013 |
Description
Adam Williamson
2018-06-25 19:43:04 UTC
Aha, I think I see the problem, in the udisks2 systemd service log: Module loading failed: /lib64/libiscsi.so.0: undefined symbol: iscsi_session_persistent_address_get looking into that now. So...I think the problem is that iscsi_session_persistent_address_get has been split into this new libopeniscsiusr library, but libiscsi itself is not linked against that library: [adamw@adam open-iscsi (master)]$ ldd /usr/lib64/libiscsi.so.0 linux-vdso.so.1 (0x00007fffc6565000) libkmod.so.2 => /lib64/libkmod.so.2 (0x00007f741ab73000) libc.so.6 => /lib64/libc.so.6 (0x00007f741a7b3000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f741a58c000) libz.so.1 => /lib64/libz.so.1 (0x00007f741a375000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f741a15d000) /lib64/ld-linux-x86-64.so.2 (0x00007f741afe5000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7419f3f000) Hum, actually, it seems to be a *new* function in the libopeniscsiusr stuff. Wow, this is a weird package - this whole libiscsi is actually patched into the Fedora package with a giant patch (0009-libiscsi.patch) and doesn't exist upstream. Crazy. Trying out a build with the Makefile for libiscsi patched to include -L$(TOPDIR)/libopeniscsiusr -lopeniscsiusr when building the library now... Yeah, seems like that fixes it. I'm sending a -3 build with that changed now (and will send a -4 build to the f29-python tag, since -2 was the python 3.7 rebuild and -3 will be built back against python 3.6). https://koji.fedoraproject.org/koji/taskinfo?taskID=27864352 Fix confirmed with a modified installer image: https://openqa.stg.fedoraproject.org/tests/321010 will close with next Rawhide compose. Hi Adam, Thanks for the great work. Upstream refused to include the giant libiscsi.so patch, so I am slowly working on the new upstreamed C API -- libopeniscsiusr. FYI. Ah, I see. So once that's finished to everyone's satisfaction and things that use libiscsi are ported, libiscsi will go away? Yes. That's the plan. So we're getting Rawhide composes again and the iSCSI test is passing, so we can close this. |