Files
fips/testing/dns-resolver
Johnathan Corgan 54931ed72e Give a package-manager-neutral systemd-resolved hint when no DNS resolver is found
When fips-dns-setup finds no supported resolver it printed
"sudo apt install systemd-resolved", although the script is not
Debian-only: the Arch packages and the systemd tarball ship it too.

The hint now names no package manager. It says to install
systemd-resolved if needed, to start it with
"systemctl enable --now systemd-resolved", since setup uses
systemd-resolved only when the unit is active, and then to restart
fips-dns.service so detection runs again.

A packaging unit test checks the hint line and that the script names no
package manager install command, and the dns-resolver no-resolver
scenario asserts the same on the script's real output.
2026-10-06 00:25:59 +00:00
..