Bug#1055415: Wrong order for the `resolve' option in nsswitch.conf

Michael Biebl biebl at debian.org
Tue Nov 7 20:59:29 GMT 2023


On Sun, 5 Nov 2023 20:41:44 +0100 Sylvain Garrigues 
<sylvain at sylvaingarrigues.com> wrote:
> Le dimanche 5 novembre 2023, Michael Biebl <biebl at debian.org> a écrit :
> 
> >
> > See https://salsa.debian.org/systemd-team/systemd/-/merge_requests/162
> >
> >
> This is indeed related. Yet the changes (as of today) do not seem to fix
> the order for `resolve'. This merge request seems to be waiting for a
> consensus before it can make progress.

Indeed, we don't have a consensus yet what the correct ordering is, if 
there is such a thing.
As for myself, I don't have a strong opinion.

Aspects to consider:
- systemd upstream recommendations
- seeing how other distros are doing it
- our status quo (which sort of works in the absence of bug reports)

Given all involved packages, another problem is the order in which 
packages are installed. I fear, we can't solve this with the current 
setup/infrastructure, where every package on its own mangles 
/etc/resolv.conf

We'd need something like Gioele's idea for dh-nss v2, where 
/etc/resolv.conf is compiled from a list of config files that are 
provided by packages shipping NSS modules.

Gioele has a much more intimate grasp on this matter, so I've CCed him.

Regards,
Michael
-------------- 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/20231107/4adbf270/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list