Package: libnss-resolve Version: 252.17-1~deb12u1 X-Debbugs-CC: pkg-systemd-maintain...@lists.alioth.debian.org
The debian postinstall script for libnss-resolve inserts `resolve' in the `hosts:' line of /etc/nsswitch.conf before `dns', therefore after `files'. This does not seem optimal, as per `man nss-resolve', which reads: Specifically, it is recommended to place "resolve" early in /etc/nsswitch.conf's "hosts:" line. It should be before the "files" entry, since systemd-resolved supports /etc/hosts internally, but with caching.