Red Hat Bugzilla – Bug 589689
Dynamically load tgt_drivers and package tgt-iser separately, for proper dependencies
Last modified: 2012-08-08 15:04:37 EDT
Description of problem:
When starting tgtd, the following error is logged in syslog (/var/log/messages):
tgtd: libibverbs.so: cannot open shared object file: No such file or directory - iser transport not used
The solution is either to build RPM package with dependence "Requires: libibverbs-devel" or to redesign libibverbs in the way to make symlink:
/usr/lib/libibverbs.so -> /usr/lib/libibverbs.so.1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make some configuration in /etc/tgt/targets.conf
2. Start service (tgtd daemon):
# service tgtd start
Daemon starts, but error is logged in syslog.
Clean start with no errors of this kind.
(In reply to comment #0)
> Description of problem:
> When starting tgtd, the following error is logged in syslog
> tgtd: libibverbs.so: cannot open shared object file: No such file or directory
> - iser transport not used
This error is fine if you are not using iser. If you are using iser then you should install libibverbs.
Are you trying to use iser or do you have libibverbs and it is not working?
Yes, I'm trying to use iser. But I have libibverbs installed:
[vesso@mahadeva ~]$ rpm -ql libibverbs
The described problem is solved by installing libibverbs-devel (provides /usr/lib/libibverbs.so):
[vesso@mahadeva ~]$ rpm -ql libibverbs-devel
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
(In reply to comment #3)
> Yes, I'm trying to use iser. But I have libibverbs installed:
Ah I see what you are saying.
I did not want to add the requires to scsi-target-utils rpm because it would force users of just iscsi to bring in all the ib stuff.
I am trying to break out the iser code and make it lib and add it to a separate rpm which would have the required requires. So you could do
// install core target
yum install scsi-target-utils
// install iser handler for target
yum install scsi-target-iser-utils
And that would bring in and install everything needed.
I agree with You! In such case splitting of the package is the only way.
Thank You a lot!!!
Ok. It is too close to RHEL 6 release time to do this, so I am putting this up for RHEL 6.1 and adding a devel ack. You can track the progress in this bugzilla. Thanks for the bug report!
*** Bug 589803 has been marked as a duplicate of this bug. ***
This is not getting done for 6.1, because upstream just completed a completely new iser target for stgt.
implemented in rawhide, but we may or may not want to backport this to rhel6.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
atm scsi-target-utils depends on ib stuff. I don't think it's worth diverging from upstream just to eliminate dependencies on two small packages. closing wontfix.