Skip to content

Delay krb5 tracing setup in daemon mode#125

Merged
simo5 merged 1 commit intogssapi:mainfrom
simo5:fixenvtrace
Mar 24, 2026
Merged

Delay krb5 tracing setup in daemon mode#125
simo5 merged 1 commit intogssapi:mainfrom
simo5:fixenvtrace

Conversation

@simo5
Copy link
Member

@simo5 simo5 commented Mar 12, 2026

This delays the initialization of the krb5 tracing function until after daemonization when not running interactively. Setting it up earlier caused the trace reader thread to be killed during the fork. It also adds an early check to cache the state of the KRB5_TRACE environment variable, ensuring that gssproxy does not override or unset a user-provided trace configuration.

Fixes #123

This delays the initialization of the krb5 tracing function until after
daemonization when not running interactively. Setting it up earlier caused the
trace reader thread to be killed during the fork. It also adds an early check
to cache the state of the KRB5_TRACE environment variable, ensuring that
gssproxy does not override or unset a user-provided trace configuration.

Signed-off-by: Simo Sorce <simo@redhat.com>
@simo5 simo5 merged commit add65e8 into gssapi:main Mar 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gssproxy and nfs does not renew tickets

1 participant