!18 Fix systemd error: Unit file isnsd.socket does not exist.
From: @wenchao-hao Reviewed-by: @liuzhiqiang26 Signed-off-by: @liuzhiqiang26
This commit is contained in:
commit
af96b0bc8c
25
0001-Do-not-install-isnsd.socket-in-isnsd.service.patch
Normal file
25
0001-Do-not-install-isnsd.socket-in-isnsd.service.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 040ee0d91adb8b2f6dd3705e3c193a77b40e69c5 Mon Sep 17 00:00:00 2001
|
||||
From: Wenchao Hao <haowenchao@huawei.com>
|
||||
Date: Thu, 29 Apr 2021 16:07:59 +0800
|
||||
Subject: [PATCH] Do not install isnsd.socket in isnsd.service
|
||||
|
||||
isnsd.socket is removed from rpm package, so here remove it from isnsd.service
|
||||
to fix systemd error message
|
||||
|
||||
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
|
||||
---
|
||||
isnsd.service | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/isnsd.service b/isnsd.service
|
||||
index 76eac6c..3f5fb21 100644
|
||||
--- a/isnsd.service
|
||||
+++ b/isnsd.service
|
||||
@@ -12,4 +12,3 @@ LimitCORE=infinity
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit.target
|
||||
-Also=isnsd.socket
|
||||
--
|
||||
1.8.3.1
|
||||
|
||||
@ -1,11 +1,12 @@
|
||||
Name: open-isns
|
||||
Version: 0.100
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: The iSNS server and client programs
|
||||
License: LGPLv2+
|
||||
URL: https://www.github.com/open-iscsi/open-isns
|
||||
Source0: https://www.github.com/open-iscsi/open-isns/archive/v%{version}.tar.gz#/open-isns-%{version}.tar.gz
|
||||
Patch0001: Fix-the-issue-of-ignoring-the-return-value.patch
|
||||
Patch0002: 0001-Do-not-install-isnsd.socket-in-isnsd.service.patch
|
||||
BuildRequires: gcc git systemd automake autoconf make
|
||||
BuildRequires: openssl-devel systemd-devel
|
||||
Recommends: %{name}-help = %{version}-%{release}
|
||||
@ -90,6 +91,9 @@ install -p -m 644 isnsd.service %{buildroot}%{_unitdir}/isnsd.service
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 4 2021 Wenchao Hao<haowenchao@huawei.com> - 0.100-3
|
||||
- Do not install isnsd.socket in isnsd.service
|
||||
|
||||
* Fri Nov 11 2020 jialei <jialei17@huawei.com> - 0.100-2
|
||||
- add help for Recommends
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user