From f315dab1f54d090eea3af931a43238fff2ea4c04 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 31 Aug 2022 16:12:00 +0200 Subject: [PATCH] team: pass -N twice to teamd With new teamd versions, this will indicate that we want the team ports to be kept in place when teamd terminates. Old versions will ignore it and behave like they always did. This keeps the team operational when teamd drops off for a while e.g. on transition from initrd to real root during network boot. --- src/core/devices/team/nm-device-team.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/devices/team/nm-device-team.c b/src/core/devices/team/nm-device-team.c index e6d34266b1..13d55f0539 100644 --- a/src/core/devices/team/nm-device-team.c +++ b/src/core/devices/team/nm-device-team.c @@ -651,7 +651,7 @@ teamd_start(NMDeviceTeam *self) g_ptr_array_add(argv, (gpointer) "-U"); if (priv->teamd_dbus_watch) g_ptr_array_add(argv, (gpointer) "-D"); - g_ptr_array_add(argv, (gpointer) "-N"); + g_ptr_array_add(argv, (gpointer) "-NN"); g_ptr_array_add(argv, (gpointer) "-t"); g_ptr_array_add(argv, (gpointer) iface);