Skip to content

system-data-odbc, workload: unset XDG_RUNTIME_DIR before su. - #439

Merged
tmds merged 1 commit into
redhat-developer:mainfrom
tmds:fix-su-xdg-runtime-dir
Oct 9, 2026
Merged

tmds merged 1 commit into
redhat-developer:mainfrom
tmds:fix-su-xdg-runtime-dir

Conversation

@tmds

@tmds tmds commented Oct 9, 2026

Copy link
Copy Markdown
Member

No description provided.

@tmds
tmds requested a review from omajid October 9, 2026 11:16
@omajid

omajid commented Oct 9, 2026

Copy link
Copy Markdown
Member

Is this something that should be part of redhat-developer/dotnet-bunny#101 in the long term?

@tmds

tmds commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

Is this something that should be part of redhat-developer/dotnet-bunny#101 in the long term?

I think we want the default behavior what .NET does when XDG_RUNTIME_DIR is set not set.

The issue occurs because su runs as a different user but keeps the environment variables which are meant for the root user.

@tmds

tmds commented Oct 9, 2026

Copy link
Copy Markdown
Member Author

Thanks for the quick review!

@tmds
tmds merged commit 4da19c5 into redhat-developer:main Oct 9, 2026
0 of 31 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.

2 participants