Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672376 - sys-block/open-iscsi - wrong path to /usr/sbin/iscsiadm in ExecStop in iscsid.service
Summary: sys-block/open-iscsi - wrong path to /usr/sbin/iscsiadm in ExecStop in iscsid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-02 08:00 UTC by rx80
Modified: 2019-05-23 08:28 UTC (History)
0 users

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 rx80 2018-12-02 08:00:25 UTC
/lib/systemd/system/iscsid.service references /sbin/iscsiadm, which is actually in /usr/sbin


--- a/iscsid.service    2018-12-02 08:56:44.335296726 +0100
+++ b/iscsid.service    2018-12-02 08:56:24.355576722 +0100
@@ -7,7 +7,7 @@
 Type=forking
 PIDFile=/var/run/iscsid.pid
 ExecStart=/usr/sbin/iscsid
-ExecStop=/sbin/iscsiadm -k 0 2
+ExecStop=/usr/sbin/iscsiadm -k 0 2
 
 [Install]
 WantedBy=multi-user.target
Comment 1 Larry the Git Cow gentoo-dev 2019-05-23 08:28:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a3dfe9ab42181414c267e7ca25d613fb1ced75

commit a5a3dfe9ab42181414c267e7ca25d613fb1ced75
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-05-23 08:27:53 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-05-23 08:28:13 +0000

    sys-block/open-iscsi: Fixed path in systemd unit files
    
    Install all upstream provided systemd unit/socket files.
    
    Closes: https://bugs.gentoo.org/672376
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-block/open-iscsi/open-iscsi-2.0.877.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)