]> git.ipfire.org Git - thirdparty/systemd.git/commit - NEWS
network: clean-up DHCP lease server data configuration
authorLennart Poettering <lennart@poettering.net>
Tue, 16 Jun 2020 18:35:18 +0000 (20:35 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 18 Jun 2020 04:08:18 +0000 (13:08 +0900)
commit2a71d57f4e63e4492a7c2d6d747e498d0c5521cd
treeb685e5b5c57b1f950e4920fd1322fd456977ad1a
parentd5da3ada8eb1f2846b444464ee033020b07b7ea0
network: clean-up DHCP lease server data configuration

This is an attempt to clean up the POP3/SMTP/LPR/… DHCP lease server
data logic in networkd. This reduces code duplication and fixes a number
of bugs.

This removes any support for collecting POP3/SMPT/LPR servers acquired
via local DHCP client releases since noone uses that, and given how old
these protocols are I doubt this will change. It keeps support for
configuring them for the dhcp server however.

The differences between the DNS/NTP/SIP/POP3/SMTP/LPR configuration
logics are minimized.

This removes the relevant symbols from sd-network.h (which is an
internal API only at this point after all).

This is unfortunately not well test, given the old code for this had
barely any tests. But the new code should not perform worse at least,
and allow us to release, since it corrects some interfaces visible in
the .network configuration format.

Fixes: #15943
15 files changed:
NEWS
man/systemd.network.xml
src/libsystemd/sd-network/sd-network.c
src/network/networkctl.c
src/network/networkd-dhcp-server.c
src/network/networkd-dhcp-server.h
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-manager.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h
src/systemd/sd-dhcp-server.h
src/systemd/sd-network.h
test/fuzz/fuzz-network-parser/directives.network