]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolvectl: use varlink to report delegate status
authorNick Rosbrook <enr0n@ubuntu.com>
Fri, 30 Jan 2026 19:34:41 +0000 (14:34 -0500)
committerNick Rosbrook <enr0n@ubuntu.com>
Tue, 3 Feb 2026 20:07:41 +0000 (15:07 -0500)
commit67746cd3b234a869dd91390eb263cb8794c54e90
tree5382c07289c48cab91dd515745e8f818a55c2fa9
parentd076d0f94f0ea32565f8be7bfcabdfdea2f25cf6
resolvectl: use varlink to report delegate status

This is an incremental commit to replacing dbus usage with varlink for
all status output.

Re-implement regular delegate status output using the DumpDNSConfiguration
varlink method. And, remove the DelegateInfo type and associated functions
which were used to map dbus properties.

Since this is the last type of status output to be switched to varlink,
lots of other code becomes dead with these changes, e.g.
read_dns_server_one(), map_dns_servers_internal(), etc., so remove those
too. Finally, status_all() no longer needs sd_bus, so drop that
parameter.
src/resolve/resolvectl.c