[PATCH] deprecate libnsl/libnss_*
Florian Weimer
fweimer@redhat.com
Thu Apr 7 15:33:00 GMT 2016
On 04/07/2016 05:25 PM, Joseph Myers wrote:
> On Thu, 7 Apr 2016, Florian Weimer wrote:
>
>> libtirpc also pulls in a lot of libraries, which makes it less
>> compatible with in-process NSS modules. I think it is generally assumed
>
> If it's visible to an application what libraries were loaded by an NSS
> module, I'd consider that to be a bug (bug 16881, I think) - NSS modules
> should be loaded in such a way that this is not visible.
I'm not sure if the general case is solvable. Some libraries want to be
loaded only once, others have to be loaded multiple times in different
versions, and so on. But I expect we can provide additional knobs to
improve the situation.
>> problems due to the additional libraries which it brings in, and the
>> late loading of libpthread (in response to a NSS request).
>
> I think we need to fix the issues in libc that break with late loading of
> libpthread, so that it can be properly transparent to the application
> whether any modules it loads use threads or not. (Bug 16628, I think;
> also bug 18192 relates to dlopen of libpthread, and there may be other
> such bugs filed as well.)
Agreed, this problem seems tractable.
Florian
More information about the Libc-alpha
mailing list