Non-Steam shortcuts used to switch between Gaming Mode and Desktop Mode silently fail since the Nov 11 client update: launches run in a user namespace where sudo's setuid self-check fails
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- linux
- Ambito
- desktop
Direzione di ricerca
The report identifies the non-Steam shortcut launch wrapper and its user namespace through STEAM_LAUNCH_WRAPPER_SCOPE=1, but names no source files or tests. Start by locating that wrapper and tracing how shortcut processes are launched and how their failures are reported. Done means shortcut launches either preserve the expected privilege behavior or show users a clear error when launch fails.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Your system information
- Steam client build: 1794536281 (steam_client_steamrt64, timestamped 2026-11-13 — the Nov 11 2026 client update)
- Steam package: 1.0.0.87-3 (Arch package)
- Distribution: Arch-based (Omarchy) on a Steam Deck OLED (AMD Van Gogh,
AMD Custom APU 0405) - Kernel: 7.3.5-2-cachyos-deckify
- Observed both from the desktop session (Hyprland/Wayland) and in Gaming Mode (gamescope)
Where this applies (not specific to this setup)
The sandboxed shortcut launch path is in the Steam client itself (the STEAM_LAUNCH_WRAPPER_SCOPE=1 launch wrapper and its user namespace), so the mechanism should not depend on this machine's specifics:
- Not distro-specific — it should reproduce wherever the same Nov 11 2026 client build runs, on any distribution. Confirmation from other distros would be welcome.
- Not gamescope-specific — the failure was measured launching the same shortcut from a plain desktop session (Hyprland) as well as inside gamescope.
- Built-in switching is unaffected — the broken thing is the library-shortcut path. SteamOS's own "Switch to Desktop" power-menu entry and distro-provided menu/desktop entries do not go through library shortcuts, and still work. What fails is the shortcut path, which is the common DIY mechanism for session switching (and similar privileged helpers) on setups without that built-in integration — those shortcuts' commands typically need privilege escalation, exactly the class this update silently breaks. On the test system, both the built-in menu path and the (fixed) shortcut path were exercised the same day.
- Not Deck-specific — any Linux Steam client ≥ the Nov 11 build with a non-Steam shortcut invoking a setuid binary (
sudo, mount helpers, package helpers, …) should hit this.
Please describe your issue in as much detail as possible
Since the Nov 11 2026 client update, non-Steam-game library shortcuts are executed inside a user namespace, and any shortcut whose command calls a setuid binary such as sudo now fails — silently.
What a user sees: clicking Play on the shortcut flashes it as "running" for about one second, Steam removes the process, and the library shows "Play" again. No error dialog, no notification. The only trace is in ~/.local/share/Steam/logs/console-linux.txt and the journal:
sudo: /etc/sudo.conf is owned by uid 65534, should be 0
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Diagnosis (measured by running a small diagnostic script as the shortcut, so the evidence comes from inside the launched process):
/proc/self/ns/userreportsuser:[4026532607]— a user namespace distinct from the host init namespace (user:[4026531837]). Before this client update, the same shortcut ran in the host namespace andsudoworked.idinside the namespace:uid=1000 gid=1000 groups=1000,65534(nobody)— host root is unmapped, so host-root-owned files appear owned by65534:/usr/bin/sudo: mode4755, owner uid65534/etc/sudo.conf: owner uid65534
- The shortcut environment contains
STEAM_LAUNCH_WRAPPER_SCOPE=1, and the process runs in a transient systemd scope (app-steam-app<appid>-<pid>.scope). - The failure is sudo behaving correctly (its startup self-check requires root ownership, which is not mapped in the namespace) — but because Steam hides the process output, the whole thing looks like a dead Play button.
Impact: any non-Steam shortcut that needs privilege escalation silently does nothing. Common examples on Deck-like/HTPC setups: a library shortcut that runs sudo steamos-session-select desktop to leave Gaming Mode, helpers that mount something, etc. The same silent-failure behaviour presumably applies to anything else that fails inside the namespace, with no way for a user to learn why.
Steps for reproducing this issue
- Add a non-Steam game shortcut whose command is a script that runs
sudo -n true(NOPASSWD sudoers entry, so no password prompt is involved) - Click Play on the shortcut in the library
- It "runs" for ~1 s and stops;
console-linux.txtshows the twosudo: ... uid 65534lines; nothing else happens
(The sudo -n framing is just the minimal repro — the same failure hits any shortcut invoking a setuid binary.)
Expected behaviour
Either (a) non-Steam shortcut commands keep running in the host namespace as before the Nov 11 update, or (b) if the sandboxed launch wrapper is intentional, document it and surface the launch failure to the user (error dialog or notification naming the failed process) instead of a silent one-second flash.
Workaround that works
Handing the privileged work to the user's systemd manager — which lives outside the namespace — escapes the sandbox:
#!/bin/sh
# shortcut entry point; the sudoers rule grants NOPASSWD for the helper
exec systemd-run --user --collect --quiet sudo -n /usr/local/bin/deck-session-select gamescope
Related
- #13884 — a different non-Steam-shortcut regression from the same Nov 11 client update (per-shortcut "Steam Input disabled" ignored)
- #13520 — SteamRT3 client containerizing third-party tool launches, also with completely silent exec failures
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 4.9k
- Fork
- 193
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/steam-for-linux
-
Distro Family: SteamOS localization Steam client
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
ValveSoftware/steam-for-linux#13888 · 1 commento ·
-
Distro Family: SteamOS localization
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ValveSoftware/steam-for-linux#13886 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ValveSoftware/steam-for-linux#13710 ·
-
Feature Request Valve-provided steam package
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
ValveSoftware/steam-for-linux#12457 · 5 commenti ·
-
SteamCMD
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ValveSoftware/steam-for-linux#9341 · 4 commenti ·
Tutte le issue di ValveSoftware/steam-for-linux
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ardia-browser/ardia#4778 ·
I maintainer di solito rispondono entro 1 giorno
-
p2 ready-mac
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
bug from-app needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nightly-labs/openbot#18462 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input boxForse già presa @PranavTJ-05 l’ha presa oggi. Apertacomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
NousResearch/hermes-agent#161023 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno