These files are apparently unused, so remove them.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit a02307caf86deba379626fba2f8cb8cc59f1a3ec)
Following patches are added:
0017-iscsi-sysfs-check-state-before-onlining-devs.patch
0018-iscsiadm-Call-log_init-first-to-fix-a-segmentation-f.patch
0019-Fix-issues-discovered-by-gcc12.patch
0020-Fix-more-issues-discovered-by-gcc12.patch
0021-actor-enhanced-print-error-log-when-init-a-initilize.patch
0022-initiator_common-make-set-operational-parameter-log-.patch
Signed-off-by: Wu Bo <wubo40@huawei.com>
(cherry picked from commit 36cc8318bb8cb23d09d8a68795f1e97ea0268ffc)
remove patch 0009-fix-iscsiadm-op-new-report-to-cannot-rename-error.patch
This patch get iscsid's pid from pidfile /var/run/iscsid.pid, and judge
if iscsid is alive according to that pid. While now iscsid.service would
not hold a pidfile, so this patch can not work as desired.
What's more, iscsiadm would try to connect to iscsid before send request
to iscsid, if iscsid is not alive, the connection would failed and
return error.
At wrost, if iscsid died after connect success, it would timeout after
1 second. And the patch
0009-fix-iscsiadm-op-new-report-to-cannot-rename-error.patch can not fix
this too.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 03045f674c2e910ecebf4ab3695ccf35e015dc92)
iscsi-init.service is aimed to generate initiatorname.iscsi,
this name would be generated by spec file in openeulr, so we
excluded the iscsi-init.service.
This commit remove requires of iscsi-init in iscsi.service
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 10f483e312fc2ff74dc92247022ede7a86dc2e3c)
iscsiuio is used in conjunction with specific linux driver to
improve performance, such as QLogic NetXtreme II or QLogic CNIC driver.
It is not a necessary tool of open-iscsi.
What's more, iscsiuio used a package uio which is out of maintain now,
which would introduce CVEs unhandled. So I want to remove this tool
from open-iscsi.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit 6648d72aebb373ada77784f56ae285540772dc66)
iscsi-init.service is aimed to generate initiatorname.iscsi,
this name would be generated by spec file in openeulr, so we
excluded the iscsi-init.service.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
(cherry picked from commit a68435f388a094288e5192314067bccf52da567c)
The pid file has be changed from /var/run/iscsid.pid to
/run/iscsid.pid in code, here perform a sync.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
0027-use-openssl-for-random-data-generation.patch and
0028-drop-unused-get_random_bytes.patch can be considered as
feature patches which should not apply
0029-Preparing-for-version-2.1.2.patch should keepace with tar package
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>