diff --git a/0001-specifies-the-ovs-module-path.patch b/0001-specifies-the-ovs-module-path.patch new file mode 100644 index 0000000000000000000000000000000000000000..0a31d826c92e6ba0b6b428bddc3bb0160469880c --- /dev/null +++ b/0001-specifies-the-ovs-module-path.patch @@ -0,0 +1,24 @@ +From e17d0df4e0e904ffbd08c1c3518ca1ce984259bf Mon Sep 17 00:00:00 2001 +From: wu-leilei +Date: Thu, 2 Dec 2021 17:23:12 +0800 +Subject: [PATCH] specifies the ovs module path + +--- + 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 4710be0..73722cf 100755 +--- a/ipsec/ovs-monitor-ipsec.in ++++ b/ipsec/ovs-monitor-ipsec.in +@@ -21,6 +21,7 @@ import copy + import os + from string import Template + ++sys.path.append("/usr/share/openvswitch/python/") + import ovs.daemon + import ovs.db.idl + import ovs.dirs +-- +2.23.0 + diff --git a/openvswitch.spec b/openvswitch.spec index f157a08bc9e9384c83659725141423403fc76d1e..805c9e63a1461e2b682d3dd457e893345f072a57 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -3,7 +3,7 @@ Summary: Production Quality, Multilayer Open Virtual Switch URL: http://www.openvswitch.org/ Version: 2.12.0 License: ASL 2.0 and ISC -Release: 14 +Release: 15 Source: https://www.openvswitch.org/releases/openvswitch-%{version}.tar.gz Buildroot: /tmp/openvswitch-rpm Patch0000: 0000-openvswitch-add-stack-protector-strong.patch @@ -14,6 +14,7 @@ Patch0004: CVE-2020-27827.patch Patch0005: CVE-2015-8011.patch Patch0006: backport-CVE-2021-36980.patch Patch0007: 0002-fix-DPDK-compiling-error.patch +Patch0008: 0001-specifies-the-ovs-module-path.patch Requires: %{name}-help Requires: logrotate hostname python >= 2.7 python2-six selinux-policy-targeted libsepol >= 3.1 @@ -526,6 +527,9 @@ exit 0 %{_unitdir}/ovn-controller-vtep.service %changelog +* Thu Dec 02 2021 wulei - 2.12.0-15 +- Rectify the failure to start openvswitch-ipesc and ovn-controller-vtep services + * Thu Oct 18 2021 yangcheng - 2.12.0-14 - Type:bugfix - ID:NA