URL: https://github.com/SSSD/sssd/pull/5722 Title: #5722: NSS client: avoid using NETDB_INTERNAL if daemon is not available
sumit-bose commented: """ Hi, thanks for the patch. According to the comment https://sourceware.org/git/?p=glibc.git;a=blob;f=resolv/nss_dns/dns-host.c;h=7248ade18db5ba471bb47ea6bdf963e2f5ed6deb;hb=HEAD#l1365 returning `NO_RECOVERY` if SSSD is not running makes sure that other sources are used as well. In the `sss_nss_gethost_readrep()` this is different because here `ERANGE` can be returned to indicate that the supplied buffer is too small to carry all result. Here it is expected that glibc immediately returns this information to the caller without looking at other modules and the caller repeats the call with an increased buffer. I will run some tests with your patch to understand the general glibc behavior better. bye, Sumit """ See the full comment at https://github.com/SSSD/sssd/pull/5722#issuecomment-891764934
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure