mirror of
https://github.com/jmcorgan/fips.git
synced 2026-10-06 03:28:24 +00:00
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.