diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2022-02-21 21:22:06 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-22 08:30:50 -0800 |
commit | 358db10e0304c4e2d9a58c5ade10682161eec47b (patch) | |
tree | 6baf6cfddfca27e69c0a6a8a174df39b2c204d94 /meta-networking/recipes-daemons/iscsi-initiator-utils | |
parent | e5613af40ecec9acbacf2007ce92c6bee33dd3ab (diff) | |
download | meta-openembedded-358db10e0304c4e2d9a58c5ade10682161eec47b.tar.gz |
iscsi-initiator-utils: upgrade 2.1.5 -> 2.1.6
0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch
removed since it's included in 2.1.6.
Changelog:
=========
This release adds more bug fixes and cleanups. No major functionality changes.
libopeniscsiusr: extend sysfs ignore_error to include EINVAL
Fix compiler error introduced with recent IPv6 commit.
Remove dependences from iscsi-init.service
Use "sbindir" for path in systemd service files
Updated README a bit
Finish ability to have binary location configurable.
Fix iscsi-init so that it runs when root writable
remove redundant params in Makefile
Fixing last parts of sbindir configuration
Cosmetic cleanup on recent addition
Update the iscsi-gen-initiatorname script: harden and generalize
change iscsi-gen-initiatorname option -b => -p
Add man page for the iscsi-gen-initiatorname script.
Install new man page for iscsi-gen-initiatorname
Fix issues discovered by gcc12
Fix more issues discovered by gcc12
iscsi sysfs: check state before onlining devs
iscsistart: fix login timeout handling
iscsid: use infinite timeout if passed in
iscsid: add error code for req timeouts
Improve 'iscsid.conf'
iscsiadm: Call log_init() first to fix a segmentation fault
iscsi_err: Add iscsid request timed out error messages
Fix wrong install_systemd destination path
actor: add name to struct actor and init it with function name
actor: print thread name in log
actor: enhanced: print error log when init a initilized thread
initiator_common: make set operational parameter log easy to read
iscsid: Check session id before start sync a thread
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/iscsi-initiator-utils')
-rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch | 43 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.6.bb (renamed from meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.5.bb) | 3 |
2 files changed, 1 insertions, 45 deletions
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch b/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch deleted file mode 100644 index ba0ca4ca0..000000000 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/files/0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | From 424d5967e94f6adf4c0669d390779af8da0bef20 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lee Duncan <lduncan@suse.com> | ||
3 | Date: Sat, 18 Sep 2021 16:10:50 -0700 | ||
4 | Subject: [PATCH] Fix compiler error introduced with recent IPv6 commit. | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Commit 76350316de38 ("Handle IPv6 interfaces correctly.") added | ||
10 | a string copy that creates this gcc-11 error message: | ||
11 | |||
12 | > gcc-11 -O2 -g -Wall -Werror -Wextra -fvisibility=hidden -fPIC -I/usr/include/kmod -c -o idbm.o idbm.c | ||
13 | > idbm.c: In function ‘_idbm_node_rec_link’: | ||
14 | > idbm.c:999:17: error: ‘strncpy’ specified bound 65 equals destination size [-Werror=stringop-truncation] | ||
15 | > 999 | strncpy((*node).iface.name, iface_name, ISCSI_MAX_IFACE_LEN); | ||
16 | > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
17 | |||
18 | So copy one less character, maximum. | ||
19 | |||
20 | Upstream-Status: Backport | ||
21 | [https://github.com/open-iscsi/open-iscsi/commit/424d5967e94f6adf4c0669d390779af8da0bef20] | ||
22 | |||
23 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
24 | --- | ||
25 | libopeniscsiusr/idbm.c | 2 +- | ||
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
27 | |||
28 | diff --git a/libopeniscsiusr/idbm.c b/libopeniscsiusr/idbm.c | ||
29 | index b2524ed..6f57e45 100644 | ||
30 | --- a/libopeniscsiusr/idbm.c | ||
31 | +++ b/libopeniscsiusr/idbm.c | ||
32 | @@ -996,7 +996,7 @@ static void _idbm_node_rec_link(struct iscsi_node *node, struct idbm_rec *recs, | ||
33 | |||
34 | /* use the interface name passed in, if any */ | ||
35 | if (iface_name) | ||
36 | - strncpy((*node).iface.name, iface_name, ISCSI_MAX_IFACE_LEN); | ||
37 | + strncpy((*node).iface.name, iface_name, ISCSI_MAX_IFACE_LEN-1); | ||
38 | |||
39 | /* | ||
40 | * Note: because we do not add the iface.iscsi_ifacename to | ||
41 | -- | ||
42 | 2.25.1 | ||
43 | |||
diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.5.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.6.bb index 26b5b5c34..e85fdd785 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.5.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.1.6.bb | |||
@@ -12,11 +12,10 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d) | |||
12 | 12 | ||
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
14 | 14 | ||
15 | SRCREV ?= "20d0aa96f2170339b1967f4be81e9c5042bbce03" | 15 | SRCREV ?= "ee575fd19429ec6dc24b49f2ce3822b4a01f57de" |
16 | 16 | ||
17 | SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \ | 17 | SRC_URI = "git://github.com/open-iscsi/open-iscsi;branch=master;protocol=https \ |
18 | file://0001-Makefile-Do-not-set-Werror.patch \ | 18 | file://0001-Makefile-Do-not-set-Werror.patch \ |
19 | file://0001-Fix-compiler-error-introduced-with-recent-IPv6-commi.patch \ | ||
20 | file://initd.debian \ | 19 | file://initd.debian \ |
21 | file://99_iscsi-initiator-utils \ | 20 | file://99_iscsi-initiator-utils \ |
22 | file://iscsi-initiator \ | 21 | file://iscsi-initiator \ |