Blame 0001-fix-network-manager-support-teaming-under-NM-systemd.patch

Dusty Mabe cf3fe9
From a97d2cedcf65a9a2fbff2591171f0163c7d3cb46 Mon Sep 17 00:00:00 2001
Dusty Mabe cf3fe9
From: Dusty Mabe <dusty@dustymabe.com>
Dusty Mabe cf3fe9
Date: Thu, 24 Jun 2021 14:41:08 -0400
Dusty Mabe cf3fe9
Subject: [PATCH] fix(network-manager): support teaming under NM+systemd
Dusty Mabe cf3fe9
Dusty Mabe cf3fe9
Previously when NM was run without dbus then teaming would come
Dusty Mabe cf3fe9
up appropriately [1], but now that dbus exists we also need to
Dusty Mabe cf3fe9
include some supporting infrastructure to allow for it to work
Dusty Mabe cf3fe9
again.
Dusty Mabe cf3fe9
Dusty Mabe cf3fe9
[1] https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/d689380cfc5734a29b1302d68027190e1a606265
Dusty Mabe cf3fe9
---
Dusty Mabe cf3fe9
 modules.d/35network-manager/module-setup.sh | 5 +++++
Dusty Mabe cf3fe9
 1 file changed, 5 insertions(+)
Dusty Mabe cf3fe9
Dusty Mabe cf3fe9
diff --git a/modules.d/35network-manager/module-setup.sh b/modules.d/35network-manager/module-setup.sh
Dusty Mabe cf3fe9
index 0b7d21ae..f8561468 100755
Dusty Mabe cf3fe9
--- a/modules.d/35network-manager/module-setup.sh
Dusty Mabe cf3fe9
+++ b/modules.d/35network-manager/module-setup.sh
Dusty Mabe cf3fe9
@@ -38,6 +38,11 @@ install() {
Dusty Mabe cf3fe9
         inst "$dbussystem"/org.freedesktop.NetworkManager.conf
Dusty Mabe cf3fe9
         inst_multiple nmcli nm-online
Dusty Mabe cf3fe9
 
Dusty Mabe cf3fe9
+        # teaming support under systemd+dbus
Dusty Mabe cf3fe9
+        inst_multiple -o \
Dusty Mabe cf3fe9
+            "$dbussystem"/teamd.conf \
Dusty Mabe cf3fe9
+            "$dbussystemconfdir"/teamd.conf
Dusty Mabe cf3fe9
+
Dusty Mabe cf3fe9
         # Install a configuration snippet to prevent the automatic creation of
Dusty Mabe cf3fe9
         # "Wired connection #" DHCP connections for Ethernet interfaces
Dusty Mabe cf3fe9
         inst_simple "$moddir"/initrd-no-auto-default.conf /usr/lib/NetworkManager/conf.d/
Dusty Mabe cf3fe9
-- 
Dusty Mabe cf3fe9
2.31.1
Dusty Mabe cf3fe9