DHCP requests leak hostname on Stretch
Upstream bug: https://bugzilla.gnome.org/show_bug.cgi?id=768076
#1 Updated by intrigeri about 3 years ago
- Status changed from Confirmed to In Progress
- % Done changed from 0 to 10
I have a fix that seems to work locally, but we need a new automated test: adding new connection without providing the complete config file, e.g. using the GUI or nmcli. Rationale: by providing a complete config file, that says
dhcp-send-hostname=false, we are not testing what would happen with a connection added like users do.
#2 Updated by intrigeri about 3 years ago
My fix does not work for newly added connections. Next things to try:
- drop customization of the list of plugins
#5 Updated by intrigeri about 3 years ago
- % Done changed from 10 to 20
So, what we need is apparently not supported in NM (and it might have been pure luck that it worked as we wanted in the past). I've commented on the upstream bug (see description). Until this is fixed on their side, our best option is probably to patch NetworkManager so that it never adds the config line about sending hostname in the dhclient configuration it generates.