Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358259 - [ebuild request] lio-utils (linux-iscsi.org)
Summary: [ebuild request] lio-utils (linux-iscsi.org)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL: http://linux-iscsi.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 16:47 UTC by Nebojsa Trpkovic
Modified: 2015-12-13 14:13 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nebojsa Trpkovic 2011-03-10 16:47:37 UTC
As kernel 2.6.38 LIO is merged into the official kernel tree as the standard multiprotocol Storage Target in Linux.
http://linux-iscsi.org/wiki/Main_Page

LIO needs some utils.

At least, lio-utils will be necessary:
http://www.linux-iscsi.org/wiki/Lio-utils

It would be nice to have lio-utils ebuild in portage, especially we already have git-sources 2.6.38-r8 and official release of 2.6.38 kernel is close.
Comment 1 Kevin Bryan 2011-08-17 20:43:25 UTC
Apparently lio-utils has partly been replaced with rtsadmin.  Here are some details on the dependencies (as far as what I needed to to install to get rtsadmin to run, there may be other packages that I already had installed):

in portage already:
epydoc
simpleparse

at linux-iscsi.org:
configshell
rtslib
rtsadmin (itself)

at git.kernel.org:
lio-utils (might be enough for older kernels; rtsadmin still needs pieces of it)

at pypi, not in portage (I fetched them with yolk):
configobj
netifaces
ipaddr

Hopefully this will save some work for whoever wants to start creating the necessary ebuilds.
Comment 2 Wai Ling 2012-02-21 22:54:12 UTC
Any update on an ebuild for lio-utils, or is it rtsadmin?

Does anyone have information about where to download and what to install manually?
Comment 3 WOLfgang Schricker 2012-03-31 11:50:44 UTC
(In reply to comment #2)
> Any update on an ebuild for lio-utils, or is it rtsadmin?
> 
> Does anyone have information about where to download and what to install
> manually?

# layman -a alexxy
...add keywords...
# emerge sys-block/rtsadmin-9999::alexxy

I have tested it today. It runs on gentoo-sources-3.2.1-r2 as target.
My initiator is sys-block/open-iscsi-2.0.871-3 on gentoo-sources-3.0.6.
Comment 4 Günther Hutzl 2012-06-07 11:00:25 UTC
I have the following error when emerging rtsadmin-9999:


 * Messages for package sys-block/rtsadmin-9999:

 * Package:    sys-block/rtsadmin-9999
 * Repository: gentoo
 * Maintainer: alexxy@gentoo.org python@gentoo.org,cluster@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.2.12-gentoo/build
 * Found sources for kernel version:
 *     3.2.12-gentoo
 * Checking for suitable kernel configuration options...
 * ERROR: sys-block/rtsadmin-9999 failed (prepare phase):
 *   python_pkg_setup() not called
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 5917:  Called distutils_src_prepare
 *   environment, line 1491:  Called _python_check_python_pkg_setup_execution
 *   environment, line  694:  Called die
 * The specific snippet of code:
 *           die "python_pkg_setup() not called";
 * 
 * If you need support, post the output of 'emerge --info =sys-block/rtsadmin-9999',
 * the complete build log and the output of 'emerge -pqv =sys-block/rtsadmin-9999'.
 * The complete build log is located at '/var/log/portage/sys-block:rtsadmin-9999:20120607-105256.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/rtsadmin-9999/temp/environment'.
 * S: '/var/tmp/portage/sys-block/rtsadmin-9999/work/rtsadmin-9999'
 * 
 * The following package has failed to build or install:
 * 
 *  (sys-block/rtsadmin-9999::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/sys-block:rtsadmin-9999:20120607-105256.log'
 * 


The fix is the same as described in this bug:

https://bugs.gentoo.org/show_bug.cgi?id=412767

Just add 

pkg_setup() {
      python_pkg_setup
}

to the ebuild and be done. But with EAPI=4 this should not be neccesary. Can anyone explain why it is still neccesary? Maybe a bug in the python.eclass?
Comment 5 Leho Kraav (:macmaN @lkraav) 2013-07-29 19:36:57 UTC
I guess no news on Gentoo ISCSI front? Not many people interested? rtsadmin, lio-utils both still -9999 **
Comment 6 Ross Anderson 2013-09-05 17:01:52 UTC
I'd like to voice request to get this into the Gentoo builds. It's part of large scale storage server environment where Gentoo does well. 

Thanks
Comment 7 Kirill Zaborsky 2013-11-19 13:42:14 UTC
Looks like lio-utils-9999.ebuild uses outdated repository git://linux-iscsi.org/lio-utils.git, the latest seems to be https://github.com/Datera/lio-utils.git
Comment 8 Yaroslav Isakov 2015-12-12 20:43:40 UTC
According to http://linux-iscsi.org/wiki/Lio-utils, this software is deprecated, so this bug could be closed.
Comment 9 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2015-12-13 14:13:14 UTC
As we have targetcli in the tree and this package has become obsolete, I'm going to close this bug report.