b97dfb8fbd
This reverts commit 8401290976
.
We are reverting this because some users may want to use predictable
device names and may not even use Debian. However, after some
investigation we have found a couple of bugs in dhcp-all-interfaces on
Debuntu distros. The parent change corrects those bugs. Additionally new
Linux kernels emit "move" events to udev when interfaces are renamed to
their predictable name. Support this "move" in the dhcp-all-interfaces
udev rules. Making these changes appaers to produce functional images
for Debian users using predictable device names. If predictable device
names are not desired turning them off is straightforward and release
notes are updated to give users the info they need to do that outside of
this element.
Change-Id: I125f1a0c78a103b51bda961528c3e66c345bf604
Co-Authored-By: Clark Boylan <clark.boylan@gmail.com>
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
20 lines
1.2 KiB
YAML
20 lines
1.2 KiB
YAML
issues:
|
|
- |
|
|
The dhcp-all-interfaces element attempts to work with "predictable
|
|
interface names". During boot the name of the interfaces is changed from
|
|
ethX to the new scheme, for example enpXsX; depending on the Linux kernel
|
|
this move may be captured by udev as an "add" or "move" event. The
|
|
dhcp-all-interfaces udev rule has been updated to match against both
|
|
possible events. If you prefer to not use predictable names your image
|
|
builds can set DIB_BOOTLOADER_DEFAULT_CMDLINE with net.ifnames=0 or mask
|
|
the default policy with `ln -s /dev/null /etc/systemd/network/99-default.link`.
|
|
This process is documented by systemd:
|
|
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
|
|
|
|
Note that this update reverts previous changes to disable predictable
|
|
interface names completely when using dhcp-all-interfaces. Predictable
|
|
device names were disabled in an effort to make dhcp-all-interfaces
|
|
function on Debian Bullseye, but this broke any users that wished to
|
|
use predictable device names. Instaed we make predictable device names
|
|
work on Debian Bullseye and allow users to disable predictable device
|
|
names should they choose to.
|