Regression in latest SLR betas and steamrt3c Steam Client if using pam_tmpdir or pam_mktemp
已经有一个关联 PR 被合并了。
- #807 来自 @smcv —— 已合并
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 40/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- linux, shell
- 领域
- cli, devops, operating-systems
调研方向
The issue is about bubblewrap (bwrap) 0.12.0 failing when PAM modules like pam_tmpdir set TMPDIR to a directory with unusual permissions. Start by examining the steam-runtime's srt-bwrap integration and the linked bubblewrap issue #806. Reproduce the failure with the given shell commands, then look at bwrap's source code around directory creation and permission handling. The fix likely involves modifying bwrap's handling of bind mounts for directories with restricted parent traversal permissions.
由索引模型根据 Issue 内容生成。
描述
After updating the Steam Runtime's internal copy of bubblewrap (srt-bwrap) to 0.12.0, launching its containers no longer works on a system with Debian's pam_tmpdir, or with OpenWall's pam_mktemp as packaged by Gentoo. Despite being unrelated codebases, these two are basically equivalent: they're implementations of the same idea.
These PAM modules create a restricted parent directory that ordinary users can traverse through, but not list (this is unusual!), and then a per-user private temp directory inside that, and set TMPDIR (among other environment variables) to that per-user directory. The same effect can be reproduced on a test system with something like this:
sudo mkdir -m711 /tmp/private
sudo install -d -o$(id -nu) -g$(id -ng) -m1770 /tmp/private/$(id -nu)
# the PAM module would do the equivalent of: export TMPDIR=/tmp/private/$(id -nu)
bwrap --ro-bind / / --bind "/tmp/private/$(id -nu)" "/tmp/private/$(id -nu) -- true
With older bwrap builds, this worked. With a newer bwrap build, it fails with bwrap: Can't mkdir parents for /tmp/private/user: Permission denied. This is tracked as https://github.com/containers/bubblewrap/issues/806 in bwrap.
Affected versions
Steam Linux Runtime betas dated x.0.20260914.y are affected.
The experimental steamrt3c Steam Client is not currently affected, but its next beta probably will be.
Workarounds
- Don't use
pam_tmpdirorpam_mktemp - Or set all of the environment variables
TMP,TMPDIR,TEMPandTEMPDIRto an existing directory whose parent directories are all readable (for example$HOME/tmp,/tmpor/var/tmp) before starting Steam
- 主要语言
- Shell
- 星标
- 1.5k
- 派生
- 97
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ValveSoftware/steam-runtime 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 58/100
ValveSoftware/steam-runtime#857 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 52/100
ValveSoftware/steam-runtime#856 · 6 条评论 ·
-
Need Retest Pressure Vessel
难度 4/5 3-5 天 新手友好度 35/100
ValveSoftware/steam-runtime#854 · 4 条评论 ·
-
Need Retest
难度 4/5 3-5 天 新手友好度 55/100
ValveSoftware/steam-runtime#853 · 6 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
ValveSoftware/steam-runtime#851 · 3 条评论 ·
查看 ValveSoftware/steam-runtime 的全部 Issue
相似的 Issue
-
good first issue needs-triage priority: medium
难度 2/5 1-3 小时 新手友好度 72/100
melodic-software/claude-code-plugins#6631 · 1 条评论 ·
维护者通常 1 天内回复
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)未关闭
难度 1/5 1-3 小时 新手友好度 90/100
omacom/omarchy-mac#701 · 1 条评论 ·
维护者通常 1 天内回复
-
A 20.x release after 21.0.0 would move `latest` back to 20.x, and `next` stays on the release candidate可能已有人在做 @armando-navarro 今天认领。 未关闭comp: build/pipeline type: bug version: current (v17+)
难度 2/5 1-3 小时 新手友好度 85/100
angular/angularfire#3790 ·
维护者通常 3 天内回复
-
ready-for-agent
难度 2/5 1-3 小时 新手友好度 85/100
LucasSantana-Dev/Lucky#2698 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
collabnix/awesome-mcp-lists#179 ·
维护者通常 1 天内回复