openvswitch/fix-the-problem-that-openvswitch-ipsec.service-causes-ipsec.service-to-fail-to-start.patch
2024-03-29 09:35:52 +00:00

25 lines
718 B
Diff

From 5e2e60e2f05195f506ea68fe17e72a2a6fe4bdbe Mon Sep 17 00:00:00 2001
From: zhangpan <zhangpan103@h-partners.com>
Date: Fri, 29 Mar 2024 15:26:47 +0800
Subject: [PATCH] Fix the problem that openvswitch-ipsec.service causes ipsec.service to fail to start
---
ipsec/ovs-monitor-ipsec.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/ipsec/ovs-monitor-ipsec.in b/ipsec/ovs-monitor-ipsec.in
index 7945162..c4f48e9 100755
--- a/ipsec/ovs-monitor-ipsec.in
+++ b/ipsec/ovs-monitor-ipsec.in
@@ -389,6 +389,7 @@ class LibreSwanHelper(object):
"""This class does LibreSwan specific configurations."""
CONF_HEADER = """%s
config setup
+ nssdir=/etc/ipsec.d
uniqueids=yes
conn %%default
--
2.27.0