-
Notifications
You must be signed in to change notification settings - Fork 2.5k
sssd: update to 2.8.2. #40846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sssd: update to 2.8.2. #40846
Conversation
|
Currently building for testing. Will report back. |
Not what I was expecting, though. Replaced musl-nscd-devel with @klarasm, if you have time to test this package once again - I would be grateful if you do. |
|
Unfortunately this fails in the same way. I also tried this on a machine without my openldap update on it with the same result. Interestingly, if I try to run the provided service file from musl-nscd it also complains (after removing -F which is not recognized): I can't actually find any package that provides libnss_files.so.2 (xbps-query -Ro /usr/lib/libnss_files.so.2 and variations don't return anything). |
|
May I inquire what configuration are you using? Looks like I will have to rely on bruteforce testing after all. |
|
You should be able to reproduce with this configuration if you remove Note that my kerberos/ldap servers do not have an IPv4 address, so it will probably not work if you don't have IPv6. Aside from that, there's no secret or password in this configuration file. |
|
Thank you for sharing. Reproduced it clearly: It seems THEY hardcoded this library in https://github.com/SSSD/sssd/blob/master/src/util/nss_dl_load.c. Just double-checked and it seems Alpine's sssd does not link against From what I see in the provided configuration, nss is the vital module. Yes, something else may work on musl, but upstream clearly hardcodes to use glibc and may possibly create more problems in future. |
|
Yeah. I still think it's worthwhile to update this, though, as it will benefit glibc users. |
|
Very well. Left it restricted to glibc only and disabled tests, too. Should be enough for now. |
Dependencies: * libwbclient is deprecated and removed upstream. * libxslt-devel is not used for building; xsltproc from libxslt is used instead. * xmlcatmgr does not seem to be used as a host make dependency. * python3 is required for cross compiling bindings. * http-parser-devel (http_parser.h) does not seem to be mentioned anywhere in the source code. * nscd does not seem to be used in hostmakedepends. Patches: * libressl.patch is removed due to openssl replacing libressl. * fix_tests.patch is divided into test_softhsm.patch and test_negcache.patch Misc: * "--without-python2-bindings" can be safely omitted from configure_args. * oidc-child now requires libjose which is not present in the repository, hence it is disabled.
|
I built and tested this on glibc and it works fine (nss and pam). The sudo integration does not work, but that's probably due to the sudo package not having it enabled. |
|
@kruceter did you close this intentionally? |
|
@klarasm I won't go into details, but the author was banned, if you would like to continue working on this, would you mind opening a new PR? |
|
I created a new PR, #42201 |
I do not use this package, therefore any help with proper testing is appreciated.
Testing the changes
Local build testing
- I built this PR locally for my native architecture, x86_64-musl