mirror of
https://github.com/systemd/systemd.git
synced 2025-01-07 21:18:41 +03:00
f1f1be71fe
Due to the bug in kernel 6.9 caused by
8debcf5832
,
the net_id udev builtin does not work for netdevsim interface.
So, eni99np1 cannot be used with kernel 6.9 anymore.
Workaround for #32910.
12 lines
375 B
SYSTEMD
12 lines
375 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Match]
|
|
Driver=netdevsim
|
|
|
|
[Link]
|
|
NamePolicy=keep kernel database onboard slot path
|
|
AlternativeNamesPolicy=database onboard slot path mac
|
|
# Also set a fixed name. Workaround for bug in kernel 6.9:
|
|
# https://github.com/torvalds/linux/commit/8debcf5832c3e8a6baaea27c75ad8a6ba5077beb
|
|
AlternativeName=sim99
|
|
MACAddressPolicy=persistent
|