Skip to content
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

Plugin infrastructure swallows underlying error message #1015

Closed
bbockelm opened this issue Jul 1, 2019 · 0 comments
Closed

Plugin infrastructure swallows underlying error message #1015

bbockelm opened this issue Jul 1, 2019 · 0 comments
Assignees

Comments

@bbockelm
Copy link
Contributor

bbockelm commented Jul 1, 2019

MIT recently reported an issue with a plugin that resulted in this following error message:

190627 14:12:04 25911 secgsi_LoadAuthzFun: Unable to load authzlib plugin /usr/lib64/libXrdLcmaps.so
190627 14:12:04 25911 secgsi_LoadAuthzFun: could not find 'XrdSecgsiAuthzFun()' in /usr/lib64/libXrdLcmaps.so

From here: https://github.com/xrootd/xrootd/blob/master/src/XrdSecgsi/XrdSecProtocolgsi.cc#L5431

Unfortunately, this error message is completely misleading - XrdSecgsiAuthzFun certainly exists in the library. However, there's a loader error that I suspect was noted in the dlerror message.

Could we ensure that, on failure, the contents of dlerror are logged? Would have helped immensely in debugging this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants