On Tue, Aug 7, 2018 at 10:19 AM Sumit Bose sbose@redhat.com wrote:
But something is still unexplained: the same test works just fine in debian, and doesn't try to connect to that socket.
This is just linker magic. Due to my fault sss_nss_make_request_timeout() is defined twice and which symbol is picked might depend on specific linker options used.
I just found out what option that was. Ubuntu, since many years, uses -Wl,-Bsymbolic-functions in its default linker flags. Debian doesn't.
The moment I strip this flag from the build, the test passes. I can't do that for the official package build, but it's good to know what option was causing the test to fail.