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