backport one patch for solving install problem

sync from branch openEuler-20.09 which commit id is 81fd136

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
Wenchao Hao 2021-07-09 15:41:40 +08:00
parent 4070670b14
commit e6a1a3518b
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,31 @@
From 53034c2ae6d1e4ec659dbace9da02ee8bc48a352 Mon Sep 17 00:00:00 2001
From: wuguanghao <wuguanghao3@huawei.com>
Date: Tue, 1 Sep 2020 15:39:46 +0800
Subject: [PATCH] Update systemd unit files for iscsid
Update systemd unit files for iscsid
Signed-off-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: wuguanghao <wuguanghao3@huawei.com>
---
etc/systemd/iscsid.service | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/etc/systemd/iscsid.service b/etc/systemd/iscsid.service
index 2cce190..828877f 100644
--- a/etc/systemd/iscsid.service
+++ b/etc/systemd/iscsid.service
@@ -1,7 +1,8 @@
[Unit]
Description=Open-iSCSI
-Documentation=man:iscsid(8) man:iscsiuio(8) man:iscsiadm(8)
-After=network.target NetworkManager-wait-online.service iscsiuio.service tgtd.service targetcli.service
+Documentation=man:iscsid(8) man:iscsiadm(8)
+After=network.target
+DefaultDependencies=no
[Service]
Type=forking
--
1.8.3.1

View File

@ -4,7 +4,7 @@
Name: open-iscsi
Version: 2.1.1
Release: 7
Release: 8
Summary: ISCSI software initiator daemon and utility programs
License: GPLv2+ and BSD
URL: http://www.open-iscsi.org
@ -27,6 +27,7 @@ Patch15: 0015-iscsi-Add-break-to-while-loop.patch
Patch16: 0016-iscsi-fix-fd-leak.patch
Patch17: 0017-Fix-devel-without-node-header-files.patch
Patch18: 0018-resolve-compilation-errors.patch
patch19: 0019-Update-systemd-unit-files-for-iscsid.patch
Patch20: 0020-check-for-header-length-underflow-during-checksum-ca.patch
Patch21: 0021-check-for-u8-overflow-when-processing-TCP-options.patch
Patch22: 0022-check-for-TCP-urgent-pointer-past-end-of-frame.patch
@ -164,6 +165,10 @@ fi
%{_mandir}/man8/*
%changelog
* Fri Jul 9 2021 haowenchao <haowenchao@huawei.com> - 2.1.1-8
- backport one patch for solving install problem, sync from branch openEuler-20.09
which commit id is 81fd136
* Mon May 17 2021 haowenchao <haowenchao@huawei.com> - 2.1.1-7
- Change iscsid.service ExecStopPost to ExecStartPost to fix systemd warning