Bug report: SteamOS 0.4.5 direct-jump update bricks Steam Frame when the login shell was changed — `/etc` migration resets `/etc/shells` and `/etc/sudoers.d`
Environment
| Device | Steam Frame, retail unit (not devkit) |
| Architecture | aarch64 |
| OS before | SteamOS 0.3.0 — BUILD_ID 20260922.6101926 |
| OS after | SteamOS 0.4.5, stable channel — BUILD_ID 20261007.6125817 |
| Update path | Direct jump 0.3.0 → 0.4.5 via atomupd (Settings → System) |
| Dates | First failure 2026-10-09; controlled re-test with workaround 2026-10-11 |
| Local customizations before update | login shell set to/usr/bin/zsh (chsh), /etc/shells extended with zsh entries, NOPASSWD sudoers drop-in in /etc/sudoers.d/, SSH key auth, zsh installed via pacman |
Summary — two independent defects, one apparent brick
Defect 1 (bricking, deterministic): /etc migration resets /etc/shells; pam_shells then rejects the user's login shell
The 0.3.0 → 0.4.5 migration replaces /etc/shells with the image default, dropping user-added entries. 0.4.5's PAM stack enforces pam_shells. If the user's login shell (passwd field, set before the update) is no longer listed, both SDDM autologin and SSH authentication fail (pam_shells gates both), while sshd, networkd and sddm itself run normally. Outward symptom: the device hangs on the static boot logo forever and never shows UI — it looks completely bricked, but it is a PAM rejection, not a boot failure.
Journal (verbatim, from both failed boots on 2026-10-09, 18:30 and 21:48):
pam_shells(sddm-autologin:auth): User has an invalid shell '/usr/bin/zsh'
sddm[...]: Authentication failure
This only bites users who changed their login shell (e.g. to zsh). Users on stock bash are unaffected by this defect — which is why it appears rare. Preview-path users (0.4.4 → 0.4.5, e.g. GitHub issue #2904) boot fine because their /etc was already 0.4-era; the direct-jump migration is the differentiator.
Related prior art: ValveSoftware/SteamOS #1707 ("Changing default shell to fish causes gui to fail to start", Steam Deck, SteamOS 3.6.19, closed 2024-11) shows the same symptom class — a login shell outside /etc/shells breaking GUI login. Our case is the update-migration variant: the shell was working on 0.3.0, and the 0.4.5 migration removed it from /etc/shells after the fact, silently re-introducing the #1707 failure for existing customizations.
Note: on the bricked boots, SSH key and password auth were both rejected, even though the password hash in /etc/shadow was intact (verified: the pre-update password was accepted after recovery). This is consistent with pam_shells being enforced on the sshd PAM stack as well; no other cause was found.
Defect 2: image ships CompositorCommand=weston --shell=kiosk but no weston binary
The 0.4.5 image's shipped sddm default.conf (line 96) sets CompositorCommand=weston --shell=kiosk, and the shipped /etc/sddm.conf.d/steamos.conf sets DisplayServer=wayland — but the image does not ship /usr/bin/weston (verified by mounting the slot rootfs; the /usr/bin listing otherwise matches 0.3.0, 2691 vs 2695 entries — a clean image, weston simply is not packaged).
On the wayland path, SDDM therefore tries to exec a missing binary:
sddm-helper-start-wayland[1808]: Failed to start "weston --shell=kiosk": execve: No such file or directory
Controlled experiment (2026-10-11): on a working 0.4.5 wayland session, renaming /usr/bin/weston away and rebooting reproduced a boot hang at the logo — SDDM reported active, gamescope processes were present, SSH stayed reachable, but the display never initialized (several power cycles, identical result; recovered via boot-menu rollback). Weston starts the wayland session and disappears from ps after the display handoff, so "no weston process" on a healthy boot does not mean it is unused. Weston is required whenever DisplayServer=wayland, and every OS update wipes it (rootfs), silently re-breaking the wayland path unless reinstalled.
Open question for Valve: stock direct-jump upgraders with the stock bash shell apparently boot 0.4.5 fine (community reports; #2904 for the preview path) despite weston also being missing there — so the stock wayland path either differs from what our journal shows or SDDM falls back in a way that only fails in some conditions. We could not isolate this variable; both our failed boots had the changed-shell state as well.
Additional migration defects / observations (all verified 2026-10-09 → 2026-10-11)
/etcis per-slot. The boot-menu rollback ("boot previous SteamOS") reverts/etcto the previous slot's state. Customizations made while booted on the new slot vanish after a rollback. Consequence: any mitigation must be installed on whichever slot is active when the update is applied./etc/sudoers.dis reset by the migration even when the drop-in is keep-listed. We keep-listed/etc/sudoers.d/zz_steamos-nopasswdvia/etc/atomic-update.conf.d/*.conf; after the 2026-10-11 migration it was gone, while the keep-listed/etc/shellscame through byte-identical. So: keep-lists are honored for/etc/shellsbut not for/etc/sudoers.d.- Merge artifact — fused lines. After the first rollback,
/etc/shellscontained/usr/bin/rbash/usr/bin/systemd-home-fallback-shell— two entries concatenated without a newline. Harmless to PAM (unmatched string), but it shows a merge path concatenates without trailing newlines. - Survive by default (verified):
/etc/systemd/system/*.service+ drop-in dirs,/etc/sddm.conf.d/*,/etc/shadow. A pre-update snapshot exists at/var/lib/steamos-atomupd/etc_backup/. - Packaging nit: stock
/etc/sudoers.d/proxy_varsships mode-rw-------. 0.4.5's sudo still works, butvisudo -c(whole-directory check) fails on the stock state; tools must validate per-file (visudo -cf).
Reproduction — Defect 1
- Steam Frame on SteamOS 0.3.0 stable.
- Install zsh, add to
/etc/shells,sudo chsh -s /usr/bin/zsh steamos. - Apply the 0.4.5 stable update (charger connected).
- First boot: static boot logo forever; no UI; ping works; SSH auth rejected for key and password.
- Journal shows
pam_shells(sddm-autologin:auth): User has an invalid shell '/usr/bin/zsh'. - Recovery: hold aux button (right side) while powering on → boot menu (volume buttons navigate, aux selects) → "boot previous SteamOS".
Reproduction — Defect 2
- Working 0.4.5 with
DisplayServer=waylandand weston installed (pacman -S weston). mv /usr/bin/weston /usr/bin/weston.bak && reboot.- → boot-logo hang; SDDM
active; gamescope processes running; SSH still reachable (display path is the only casualty).
Workaround / mitigation (proven end-to-end 2026-10-11)
On the slot that is active before updating:
- Keep-list
/etc/shellsin/etc/atomic-update.conf.d/*.conf. - Install a oneshot systemd unit (
Before=sddm.service,After=network-online.target) whose script, at first boot: re-adds shell entries to/etc/shells, recreates the sudoers drop-in (last-matching rule wins → name must sort afterwheel, e.g.zz_), reinstalls rootfs packages (pacman -S --needed zsh weston), and restores/opt-installed binaries (Tailscale) with symlinks.
Result: the same 0.4.5 build (20261007.6125817) re-applied on 2026-10-11 booted straight to a working UI with the zsh login shell intact; reboot-validated. Only the sudoers drop-in and Tailscale binaries needed the boot-time self-heal — /etc/shells survived via the keep-list.
Suggested fixes (in impact order)
- Migration must not drop user entries from
/etc/shells— append image defaults instead of replacing, and honor user keep-lists for/etc/sudoers.d(or document the reset). - Update preflight: refuse (or warn) when the user's login shell is not present in the target image's
/etc/shells— this failure is 100% predictable pre-install. - Fail visibly: if
pam_shellsrejects sddm-autologin, fall back to the greeter / on-screen error instead of a silent logo hang; same for a missingCompositorCommandbinary. - Ship weston in 0.4.x or remove/scope the
CompositorCommand=weston --shell=kioskdefault if the wayland path doesn't use it; every update currently re-breaks the wayland path for anyone who installed weston manually. - Fix the newline-fusing merge that produced
/usr/bin/rbash/usr/bin/systemd-home-fallback-shellin/etc/shells. - Fix shipped
proxy_varssudoers.d permissions (-rw-------→0440).
References
- ValveSoftware/SteamOS #1707 — prior art: changed login shell breaks GUI login (Deck, 3.6.19, 2024); our case is the migration re-introducing it
- ValveSoftware/SteamOS #2904 — same build boots fine via 0.4.4 → 0.4.5 preview path
- ValveSoftware/SteamOS #1815 — Deck: boot failure after update, "boot previous" recovers (same recovery works here)
- Full timeline, journal excerpts and mitigation script: available on request
Report compiled 2026-10-11 from controlled experiments on the affected device; all journal lines quoted verbatim.
Just to confirm the first issue. I changed my shell to zsh and then experienced issues with every SteamOS update. Nothing helped. I did not connect it to shell change (no time to really debug deeply - thank you OP for that, it helped greatly). After booting to previous version, changing shell to /bin/bash the same OS update went smoothly with no issues and booting normally.
Only thing different is that my steam frame was not stuck at startup logo but I saw some "funny", for me unidentifiable, pictures / scenes. See: https://mega.nz/file/vJ1n3KSJ#Zkr2_hOquSVr8wSiKUl5NYBvg55mXAxDj2RdNYQK9sc https://mega.nz/file/KRt3jbTK#uWQA4En6t8yZ19OXJl6vFIaqLKQA0hxx9qwgkqRTMDs
@pito111 Thanks for the confirmation — and your first screenshot is exactly what my device showed during the failed boots, so we're looking at the same failure on two units.
My journal pinned the trigger: the update's /etc migration resets /etc/shells, and 0.4.5's PAM (pam_shells) then rejects the zsh login shell — pam_shells(sddm-autologin:auth): User has an invalid shell '/usr/bin/zsh'. Your zsh→bash A/B test matches mine exactly: the same update bricks with zsh and installs cleanly with bash.
Your "funny, unidentifiable pictures/scenes" variant on top of that image is useful data — same display-path failure, possibly one stage later, depending on which /etc state survived the migration on each unit.
If you want to keep zsh and survive updates, the mitigation from the report works end-to-end (proven on 0.4.5, reboot-verified):
- Keep-list
/etc/shellsin/etc/atomic-update.conf.d/*.conf— the migration preserves the file instead of resetting it - Add a boot-time oneshot service (
Before=sddm.service,After=network-online.target) that re-adds your shell entry to/etc/shellsand reinstalls the binaries the rootfs swap removes (pacman -S --needed zsh+ anything else, e.g. weston for the wayland path)
With that in place, the same 0.4.5 build re-applied cleanly with the zsh login shell intact.
A clarification: the screenshots are one for each eye as you can see also from the nose cutouts. Those are there at the same time. Different for each eye. At least on my device.
@pito111 Thanks — the per-eye detail matters: stereo output means the display pipeline was alive and presenting, with only the session content wrong. My unit never got past the static logo at all — so we likely failed at different stages of the same broken path (display init vs. session content), with the same trigger: the /etc migration wiping /etc/shells and pam_shells rejecting the changed login shell.
Your zsh→bash A/B test remains the cleanest proof of the trigger; the stage at which the visuals break probably depends on which /etc/rootfs state survived the migration on each unit.