openwall / tcb

Alternative password shadowing scheme
https://www.openwall.com/tcb/
Other
8 stars 3 forks source link

Add soname to libnss_tcb.so? #21

Open jas4711 opened 2 weeks ago

jas4711 commented 2 weeks ago

The libtcb.so file is built with -Wl,-soname but libnss_tcb.so is not. Is that intentional? Debian's lintian complains about this library, and asks that it is built with a soname. I don't know what the praxis is for NSS modules, but I'm also not sure it hurts. Thoughts? Could you add it?

ldv-alt commented 2 weeks ago

Sorry, I don't think we build libnss_tcb.so, did you mean libnss_tcb.so.2?

From one side, libnss_tcb.so.2 behaves like a plugin rather than a regular shared library: it isn't linked with, it's being dlopen'ed instead, so technically speaking it doesn't need a soname. From another side, adding a soname shouldn't cause any issues to anyone, so if it would make somebody happy, I don't mind adding it.

jas4711 commented 2 weeks ago

Good point. I suggest to close this as wontfix since it looks like a lintian false positive, unless someone can provide better justification for adding the soname. I've seen that others disable the complaint like this, and I will do something similar.

https://salsa.debian.org/glibc-team/libnss-nis/-/blob/master/debian/lintian-overrides