|
|
4eda52 |
From 59bad0f7db6d56c359816bc048341b38b824e460 Mon Sep 17 00:00:00 2001
|
|
|
4295f9 |
From: Michal Sekletar <msekleta@redhat.com>
|
|
|
4295f9 |
Date: Tue, 21 Sep 2021 15:01:19 +0200
|
|
|
4295f9 |
Subject: [PATCH] udev/net-setup-link: change the default MACAddressPolicy to
|
|
|
4295f9 |
"none"
|
|
|
4295f9 |
|
|
|
4295f9 |
While stable MAC address for interface types that don't have the
|
|
|
4295f9 |
address provided by HW could be useful it also breaks LACP based bonds.
|
|
|
4295f9 |
Let's err on the side of caution and don't change the MAC address from
|
|
|
4295f9 |
udev.
|
|
|
4295f9 |
|
|
|
4eda52 |
Resolves: #2009237
|
|
|
4295f9 |
---
|
|
|
4295f9 |
man/systemd.link.xml | 2 +-
|
|
|
4eda52 |
network/99-default.link | 2 +-
|
|
|
4295f9 |
test/fuzz/fuzz-link-parser/99-default.link | 2 +-
|
|
|
4eda52 |
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
4295f9 |
|
|
|
4295f9 |
diff --git a/man/systemd.link.xml b/man/systemd.link.xml
|
|
|
4295f9 |
index 1093e2e0b8..095d8b4873 100644
|
|
|
4295f9 |
--- a/man/systemd.link.xml
|
|
|
4295f9 |
+++ b/man/systemd.link.xml
|
|
|
4295f9 |
@@ -816,7 +816,7 @@
|
|
|
4295f9 |
|
|
|
4295f9 |
<programlisting>[Link]
|
|
|
4295f9 |
NamePolicy=kernel database onboard slot path
|
|
|
4295f9 |
-MACAddressPolicy=persistent</programlisting>
|
|
|
4295f9 |
+MACAddressPolicy=none</programlisting>
|
|
|
4295f9 |
</example>
|
|
|
4295f9 |
|
|
|
4295f9 |
<example>
|
|
|
4eda52 |
diff --git a/network/99-default.link b/network/99-default.link
|
|
|
4eda52 |
index bca660ac28..31aee37e75 100644
|
|
|
4eda52 |
--- a/network/99-default.link
|
|
|
4eda52 |
+++ b/network/99-default.link
|
|
|
4eda52 |
@@ -13,4 +13,4 @@ OriginalName=*
|
|
|
4eda52 |
[Link]
|
|
|
4eda52 |
NamePolicy=keep kernel database onboard slot path
|
|
|
4eda52 |
AlternativeNamesPolicy=database onboard slot path
|
|
|
4eda52 |
-MACAddressPolicy=persistent
|
|
|
4eda52 |
+MACAddressPolicy=none
|
|
|
4295f9 |
diff --git a/test/fuzz/fuzz-link-parser/99-default.link b/test/fuzz/fuzz-link-parser/99-default.link
|
|
|
4295f9 |
index feb5b1fbb0..3d755898b4 100644
|
|
|
4295f9 |
--- a/test/fuzz/fuzz-link-parser/99-default.link
|
|
|
4295f9 |
+++ b/test/fuzz/fuzz-link-parser/99-default.link
|
|
|
4295f9 |
@@ -9,4 +9,4 @@
|
|
|
4295f9 |
|
|
|
4295f9 |
[Link]
|
|
|
4295f9 |
NamePolicy=keep kernel database onboard slot path
|
|
|
4295f9 |
-MACAddressPolicy=persistent
|
|
|
4295f9 |
+MACAddressPolicy=none
|