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

krb5 traces missing from journald logs at debug level 3 #44

Closed
simo5 opened this issue Mar 8, 2022 · 0 comments · Fixed by #52
Closed

krb5 traces missing from journald logs at debug level 3 #44

simo5 opened this issue Mar 8, 2022 · 0 comments · Fixed by #52
Labels
bug Something isn't working

Comments

@simo5
Copy link
Contributor

simo5 commented Mar 8, 2022

As discovered in #43 the way systemd starts daemons end up creating a redirection t a socket that breaks the ability to use '/dev/stderr' as a path name to be able to effectively reopen fd=2.

This means debug level 3 ends up not containing krb5 traces because the file open fails.
We should try to see if we can find a mechanism to deal with this, in the worst case creating a socket of our own and then redirecting its output back to stderr, or perhaps finding out if we can pass an FD number instead of a path to KRB5_TRACE, maybe asking krb5 to add a KRB5_TRACE_FD option ?

@simo5 simo5 added the bug Something isn't working label Mar 8, 2022
@simo5 simo5 closed this as completed in #52 May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant