aoetools initramfs hooks starts dhcclient for every intrface on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aoetools (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
ifupdown (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
netplan.io (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After upgrade frpm 18LTS to 20LTS I've lost the network.
Network is managed by ifupdown
Netplan is not installed
Network manger is disabled (masked)
Yet, at boot, SOMETHING starts dhclient for every network interface. This has disastrous results - dhcp request succeeds on physical interface that is a base for a vlan-based interface, causing real dhcp request on to fail on vlan interface.
Expected behavior - dhclient starts only for interfaces marked as dhcp in /etc/network/
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: isc-dhcp-client 4.4.1-2.1ubuntu5
ProcVersionSign
Uname: Linux 5.8.0-29-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Wed Nov 25 00:07:45 2020
SourcePackage: isc-dhcp
UpgradeStatus: No upgrade log present (probably fresh install)
The culprit is intramfs. Starting with 20 LTS, having an AOE device brings in local_top/aoe, which calls configure_ networking . This causes dhcp configuration of the primary net interface, which screws up all network later (as this physical interface is part of the bridge, and bridge can't get a dhcp lease later).
AOE stands for "ATA over ETHERNET", not ATA over IP. There is zero need to bring up ip stack for aoe to function.