Bug#1055415: Wrong order for the `resolve' option in nsswitch.conf
Michael Biebl
biebl at debian.org
Sun Nov 5 17:57:12 GMT 2023
Am 05.11.23 um 16:12 schrieb Sylvain Garrigues:
> Package: libnss-resolve
> Version: 252.17-1~deb12u1
> X-Debbugs-CC: pkg-systemd-maintainers at 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.
>
See https://salsa.debian.org/systemd-team/systemd/-/merge_requests/162
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20231105/72420ac5/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list