Deal with NetworkManager 1.20+ defaulting to its internal DHCP client, which leaks the hostname on the network
Originally created by @intrigeri on #16948 (Redmine)
According to
https://blogs.gnome.org/lkundrak/2019/08/06/networkmanager-1-20/, “The
internal default DHCP client is used by default. It’s smaller and faster
than dhclient, which was used previously. NetworkManager supports
multiple different DHCP clients and the users and distributors have an
option to modify the default”. We have a custom config for the
traditional isc-dhcp-client
that e.g. avoids leaking the Tails’
hostname on the network. Can we port that config to NM’s internal DHCP
client? Or should we simply revert to using isc-dhcp-client
?
Corresponding section of our design doc is “DHCP hostname leaks”.
Upstream bug reports about the hostname leak in DHCP requests:
- new: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/584
- old: https://bugzilla.gnome.org/show_bug.cgi?id=768076
Feature Branch: wip/feature/stretch-no-dhclient
Related issues
- Related to #11630 (closed)