mirror of
https://github.com/games-on-whales/wolf.git
synced 2026-10-15 21:12:08 +00:00
[PR #393] [CLOSED] Fix session containers to run as retro #440
Labels
No labels
🧠 1 - 🤖 999
AMD
bug
bug
cannot reproduce
documentation
duplicate
easy
enhancement
enhancement
enhancement
fixed?
fixed?
good first issue
hard
help wanted
Intel
invalid
LXC
medium
moonlight-protocol
Multi GPU
nixos
not a bug
nvidia
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolf#440
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/wolf/pull/393
Author: @JBailes
Created: 4/18/2026
Status: ❌ Closed
Base:
stable← Head:fix/session-runner-user📝 Commits (2)
054b7c7Fix session containers to run as retro7270bb1Fix runner test config namespace📊 Changes
3 files changed (+82 additions, -0 deletions)
View changed files
📝
src/moonlight-server/sessions/common.cpp(+1 -0)📝
tests/CMakeLists.txt(+1 -0)➕
tests/testRunner.cpp(+80 -0)📄 Description
Summary
UNAME=retrofor Wolf-launched session containers alongside the existingPUIDandPGIDoverridessessions::start_runnerso session container env construction keeps the non-root runtime userRoot Cause
Wolf already overrides the numeric runtime IDs for session containers, but it does not override
UNAME. GoW images such aswolf-uidefault that variable toroot, and the base entrypoint only switches to the non-root path whenUNAME != root. That leaves session containers running as root even when Wolf is trying to launch them with the paired client's runtime UID/GID.Validation
git diff --checkstart_runnerregression test covering the session env🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.