Replace dhclient with dhcpcd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
isc-dhcp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
ISC has announced the end of life for ISC DHCP as of the end of 2022. Kea is the recommended successor of the DHCP server (isc-dhcp-server). This bug report is about replacing the DHCP client (isc-dhcp-client).
Ubuntu uses NetworkManager on the desktop and systemd-networkd on the server as default DHCP client. However isc-dhcp-client is still installed as part of all Ubuntu systems, because it is the only client implementation that integrates with initramfs-tools. isc-dhcp-client is also used by cloud-init and as a command line tool to configure transient DHCP on an interface.
There are following requirements for the replacement DHCP client:
1. The DHCP client must support DHCPv6.
2. The DHCP client in the initramfs should be small enough to not increase the size noticeable.
3. The DHCP client needs to be callable from the shell (for initramfs and cloud-init)
The Ubuntu desktop uses network-manager and the server/cloud images uses systemd-networkd. So there is no need for changing the DHCP client on booted systems, but the initramfs uses dhclient from isc-dhcp-client.
ipconfig (from klibc-utils) does not support DHCPv6 (but there is work in progress in https:/
systemd-networkd is designed to run as a service. It takes no arguments when called. So it must run as daemon.
Therefore only dhcpcd and udhcpc remain as replacement (for the initramfs). From those two, I propose to use dhcpcd as replacement, because:
* It has many features (like classless static routes or DHCP over InfiniBand)
* It is actively developed (normally a few release per year)
tags: | added: fr-2925 |
Changed in initramfs-tools (Ubuntu): | |
assignee: | nobody → Benjamin Drung (bdrung) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in initramfs-tools (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in initramfs-tools (Ubuntu): | |
assignee: | Benjamin Drung (bdrung) → nobody |
Pushed change to ubuntu/devel-dhcpcd branch: /code.launchpad .net/~ubuntu- core-dev/ ubuntu/ +source/ initramfs- tools/+ git/initramfs- tools/+ ref/ubuntu/ devel-dhcpcd
https:/
The upload needs to wait for the dhcpcd MIR in bug #2019191