Regression in latest SLR betas and steamrt3c Steam Client if using pam_tmpdir or pam_mktemp
Ya se ha fusionado un pull request relacionado.
- #807 de @smcv — fusionado
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 40/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- linux, shell
- Área
- cli, devops, operating-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 97
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/steam-runtime
-
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
ValveSoftware/steam-runtime#857 · 2 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
ValveSoftware/steam-runtime#856 · 6 comentarios ·
-
Need Retest Pressure Vessel
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ValveSoftware/steam-runtime#854 · 4 comentarios ·
-
Need Retest
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
ValveSoftware/steam-runtime#853 · 6 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
ValveSoftware/steam-runtime#851 · 3 comentarios ·
Todos los issues de ValveSoftware/steam-runtime
Issues similares
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
omacom/omarchy-mac#701 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
A 20.x release after 21.0.0 would move `latest` back to 20.x, and `next` stays on the release candidatePosiblemente ocupada @armando-navarro la tomó hoy. Abiertocomp: build/pipeline type: bug version: current (v17+)
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
angular/angularfire#3790 ·
Los mantenedores suelen responder en 3 días
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
LucasSantana-Dev/Lucky#2698 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
collabnix/awesome-mcp-lists#179 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100