blob: 7af981336b563d86fe3ed5f8a25d185919c82cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From: Michael Biebl <biebl@debian.org>
Date: Wed, 6 May 2015 18:17:51 +0200
Subject: Fix iscsiadm path
The open-scsi package in Debian installs the iscisadm binary as
/usr/bin/iscsiadm.
This patch can be dropped post-stretch as open-iscsi now also ships the
binary as /sbin/iscsiadm (and /usr/bin/iscsiadm is a compat symlink).
---
src/settings/plugins/ibft/nms-ibft-plugin.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/settings/plugins/ibft/nms-ibft-plugin.c b/src/settings/plugins/ibft/nms-ibft-plugin.c
index 77ce208..f84276d 100644
--- a/src/settings/plugins/ibft/nms-ibft-plugin.c
+++ b/src/settings/plugins/ibft/nms-ibft-plugin.c
@@ -74,7 +74,7 @@ read_connections (NMSIbftPlugin *self)
GError *error = NULL;
NMSIbftConnection *connection;
- if (!nms_ibft_reader_load_blocks ("/sbin/iscsiadm", &blocks, &error)) {
+ if (!nms_ibft_reader_load_blocks ("/usr/bin/iscsiadm", &blocks, &error)) {
nm_log_dbg (LOGD_SETTINGS, "ibft: failed to read iscsiadm records: %s", error->message);
g_error_free (error);
return;
|