* Lennart Poettering:

> nss-myhostname should be in nsswitch.conf by default too. It's very
> minimal, and just makes sure the local hostname remains resolvable all
> the time. By enabling this, installers and image generators don't have
> to patch /etc/hosts anymore like they traditionally did, in fact they
> can remove it altogether and just leave resolution of the local
> hostname to the module, and it will magically follow whatever is
> currently set via sethostname(). This module should be in the 'hosts'
> line.

The way myhostname is currently implemented, it is rather problematic.
I think it has largely stopped stomping over the DNS namespace (with the
_gateway change), so it could be moved to the front, eliminating all
those problems.

The other issue is that the systemd NSS modules are quite heavy and pull
in other DSOs and may cause single-thread optimizations to be disabled
because they load libpthread.

Thanks,
Florian
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to