Skip to content

Delay krb5 tracing setup in daemon mode#125

Open
simo5 wants to merge 1 commit intogssapi:mainfrom
simo5:fixenvtrace
Open

Delay krb5 tracing setup in daemon mode#125
simo5 wants to merge 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>
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