]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Reapply "network: add "mac" to alternatives name policy by default"
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Jun 2024 18:53:12 +0000 (03:53 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Jun 2024 16:05:09 +0000 (18:05 +0200)
This reverts commit 152c8946b3a93bb2c086568832d614cb54f11e13.

The kernel patch
https://lore.kernel.org/linux-usb/20240605153340.25694-1-gmazyland@gmail.com/
is now in net-next branch, and will be hopefully merged soon.

Note that Debian's 73-usb-net-by-mac.link now also supports the kernel patch:
https://salsa.debian.org/systemd-team/systemd/-/commit/c1afbb2dc295929085be86072c7942c8517ec598

So, hopefully, the change is ready. Let's reapply it.

network/99-default.link

index 56030b62be17bec62ff3b34475e8489438b1a8cd..083dca48c9bc41087198a8a19a7281fa3a2dfccf 100644 (file)
@@ -11,5 +11,5 @@ OriginalName=*
 
 [Link]
 NamePolicy=keep kernel database onboard slot path
-AlternativeNamesPolicy=database onboard slot path
+AlternativeNamesPolicy=database onboard slot path mac
 MACAddressPolicy=persistent