[systemd-devel] systemd-resolved and nss_ldap

Vlad vovan at vovan.nl
Tue Jul 3 20:16:40 UTC 2018


Hello,

It looks like the combination of systemd-resolved service for DNS name
resolution with nss_ldap hangs the system during boot. Particularly the
following configuration in nsswitch.conf leads to boot problem:
=======================
passwd:      files ldap
group:       files ldap
hosts:       files mymachines resolve [!UNAVAIL=return] dns
=======================

Both configurations below work just fine.
=======================
passwd:      files
group:       files
hosts:       files mymachines resolve [!UNAVAIL=return] dns
=======================
OR
=======================
passwd:      files ldap
group:       files ldap
hosts:       files mymachines dns
=======================

I'd appreciate any thoughts about this issue.

Regards,
Vlad.


More information about the systemd-devel mailing list