Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866734 - sys-block/open-iscsi-2.1.7 refers to wrong (?) locations
Summary: sys-block/open-iscsi-2.1.7 refers to wrong (?) locations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-26 16:10 UTC by Adrien Dessemond
Modified: 2022-09-27 21:38 UTC (History)
1 user (show)

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


Attachments
sbindir.patch (file_866734.txt,1006 bytes, patch)
2022-08-27 16:21 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2022-08-26 16:10:47 UTC
# /etc/init.d/iscsid status
 * Showing current active iSCSI sessions ...
/etc/init.d/iscsid: line 74: /usr/sbin/iscsiadm: No such file or directory

# /etc/init.d/iscsid start
 * Caching service dependencies ... [ ok ]
 * Checking Open-iSCSI configuration ... [ ok ]
 * Starting iscsid ...
 * start-stop-daemon: /usr/sbin/iscsid does not exist

This are located within /sbin in my case.


Perhaps my setup is a bit too old and missed something with symlinks.
Comment 1 Jonas Stein gentoo-dev 2022-08-26 20:37:41 UTC
according to https://www.portagefilelist.de/site/query
it should be part of sys-block/open-iscsi since 2.1.6
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-27 01:29:55 UTC
(In reply to Jonas Stein from comment #1)
> according to https://www.portagefilelist.de/site/query
> it should be part of sys-block/open-iscsi since 2.1.6

I'm not sure what your point is. The issue is /usr vs /?
Comment 3 Adrien Dessemond 2022-08-27 15:54:31 UTC
Absolutely, the fact is iscsid is located (in my case) in /sbin not in /usr/sbin. The same for iscsiadm. So the start up script fails. Perhaps my setup has an issue.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-27 16:21:02 UTC
Created attachment 801520 [details, diff]
sbindir.patch

It looks like both SBINDIR and sbindir are used. Can you try this?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-27 21:38:38 UTC
The 2.1.8 port to meson should solve this, I think.