mirror of
https://git.proxmox.com/git/ifupdown2
synced 2025-04-28 17:09:34 +00:00
add patch to ifup/ifdown allow=ovs on start/stop
This is fixing possible race condition with ovs 2.12 ans also cleanly remove ovs interfaces on networking service stop Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
4f25fa796f
commit
1aeb7eb223
26
debian/patches/pve/0009-networking.service-ifup-ifdown-allow-ovs-on-start-st.patch
vendored
Normal file
26
debian/patches/pve/0009-networking.service-ifup-ifdown-allow-ovs-on-start-st.patch
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
From aaf288fd97929140348d2de6751c4ca758997455 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Derumier <aderumier@odiso.com>
|
||||
Date: Thu, 13 Feb 2020 07:16:33 +0100
|
||||
Subject: [PATCH] networking.service: ifup/ifdown allow=ovs on start/stop
|
||||
|
||||
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
|
||||
---
|
||||
debian/ifupdown2.networking.service | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/debian/ifupdown2.networking.service b/debian/ifupdown2.networking.service
|
||||
index b2acd97..4347bd2 100644
|
||||
--- a/debian/ifupdown2.networking.service
|
||||
+++ b/debian/ifupdown2.networking.service
|
||||
@@ -11,6 +11,8 @@ RemainAfterExit=yes
|
||||
SyslogIdentifier=networking
|
||||
TimeoutStopSec=30s
|
||||
ExecStart=/sbin/ifup -a
|
||||
+ExecStart=/sbin/ifup --allow=ovs
|
||||
+ExecStop=/sbin/ifdown --allow=ovs
|
||||
ExecStop=/sbin/ifdown -a
|
||||
ExecReload=/sbin/ifreload -a
|
||||
|
||||
--
|
||||
2.20.1
|
||||
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -8,3 +8,4 @@ pve/0005-ifreload-down-up-vxlan-interfaces-when-ifreload_down.patch
|
||||
pve/0006-config-tuning.patch
|
||||
pve/0007-networking.service-fix-dependencies-and-ordering.patch
|
||||
pve/0008-execute-addons-scripts-before-modules.patch
|
||||
pve/0009-networking.service-ifup-ifdown-allow-ovs-on-start-st.patch
|
||||
|
Loading…
Reference in New Issue
Block a user