Skip to content

Commit

Permalink
udev/net-setup-link: change the default MACAddressPolicy to "none"
Browse files Browse the repository at this point in the history
While stable MAC address for interface types that don't have the
address provided by HW could be useful it also breaks LACP based bonds.
Let's err on the side of caution and don't change the MAC address from
udev.

RHEL-only: policy

Related: RHEL-40924
  • Loading branch information
msekletar authored and jamacku committed Jun 27, 2024
1 parent 96a9626 commit fbd46f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion man/systemd.link.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ OriginalName=*
[Link]
NamePolicy=keep kernel database onboard slot path
AlternativeNamesPolicy=database onboard slot path
MACAddressPolicy=persistent</programlisting>
MACAddressPolicy=none</programlisting>
</example>

<example>
Expand Down
2 changes: 1 addition & 1 deletion network/99-default.link
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ OriginalName=*
[Link]
NamePolicy=keep kernel database onboard slot path
AlternativeNamesPolicy=database onboard slot path
MACAddressPolicy=persistent
MACAddressPolicy=none
2 changes: 1 addition & 1 deletion test/fuzz/fuzz-link-parser/99-default.link
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@

[Link]
NamePolicy=keep kernel database onboard slot path
MACAddressPolicy=persistent
MACAddressPolicy=none

0 comments on commit fbd46f7

Please sign in to comment.