Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 481418

Summary: sys-block/open-iscsi should check for kernel modules
Product: Gentoo Linux Reporter: Robin Lutz <robin.m.lutz>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: Low    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robin Lutz 2013-08-17 08:40:19 UTC
I installed today for the first time open-iscsi on a server to attach a new NAS.

The newest Version 2.0.872-r2 does not have a dependecy on "libiscsi" but it's need to run the iscsid deamon:

# /etc/init.d/iscsid start
 * Checking open-iSCSI configuration ...
 * Loading iSCSI modules ...
 * Loading libiscsi: not found ...                                 [ !! ]
 * ERROR: iscsid failed to start

Is there a way to use open-iscsi without libiscsi? Maybe there should be at least an enote in the ebuild.
Comment 1 Robin Lutz 2013-08-17 09:11:38 UTC
I got the error totally wrong.

I was missing a kernel module, not the libiscsi package.

Never the less, I think the ebuild should check for that module and then throw a message to notify the user.

I am also planing to write an article in the wiki. Maybe with some good documentation, this bug can also be ignored.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-17 15:09:11 UTC
Which kernel module was missing? The ebuild in question already checks for SCSI_ISCSI_ATTRS and ISCSI_TC ...
Comment 3 Robin Lutz 2013-08-17 23:26:23 UTC
You are right, there was a warning and I missed it :-O

Sorry, for that, didn't see the check when I looked into the ebuild either..