Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.928.21956 (Powered by Codex & OWL, released 2026-09-30)
What subscription do you have?
ChatGPT plus
What platform is your computer?
No response
What issue are you seeing?
Description
After updating the ChatGPT Windows app to version 26.928.21956 (released 2026-09-30), Codex can no longer reliably start the WSL sandbox.
Commands such as:
uname -aor:
/bin/bash -lc 'uname -a'often fail before execution with:
No such file or directory (os error 2)
The issue is intermittent: one /bin/bash command succeeded in /tmp, but later commands failed again.
Environment
- Windows 11
- WSL2
- Ubuntu 24.04.5
- WSL kernel:
6.18.33.2-microsoft-standard-WSL2 - bubblewrap 0.9.0
- ChatGPT Windows app:
26.928.21956
Direct bubblewrap test succeeds:
bwrap --ro-bind / / /bin/true
echo $?returns:
0
The bundled WSL Codex backend also exists under:
%USERPROFILE%\.codex\bin\wsl\<hash>\
Suspicious behavior
After deleting %USERPROFILE%\.codex\tmp\arg0, shutting down WSL, and restarting the app, Codex recreates the arg0 directory with only:
.lock
applypatch.bat
apply_patch.bat
There is no visible:
codex-linux-sandbox
codex-execve-wrapper
even though WSL mode is enabled.
My config is:
approval_policy = "on-request"
sandbox_mode = "workspace-write"
[desktop]
integratedTerminalShell = "wsl"
runCodexInWindowsSubsystemForLinux = true
[features]
unified_exec = false
shell_snapshot = trueThe same WSL environment worked before the app update.
This looks like a regression in the Windows app's WSL sandbox/helper startup rather than a WSL or bubblewrap problem.
What steps can reproduce the bug?
After updating the ChatGPT Windows app to version 26.928.21956, Codex can no longer reliably start the WSL sandbox.
Steps to reproduce:
Enable WSL mode in Codex.
Open a project located inside the WSL Ubuntu filesystem.
Start a new Codex session.
Ask Codex to run:
uname -a
or:
/bin/bash -lc 'uname -a'
The command frequently fails before execution with:
No such file or directory (os error 2)
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
bluezlam commentedon Oct 1, 2026
I can reproduce this on the Windows desktop app 26.928.21956 (build 12404), with WSL2 Ubuntu 24.04.4 and kernel 6.18.33.2-microsoft-standard-WSL2.
Additional diagnostic evidence (personal and project paths redacted):
pwdorls./bin/bash,/bin/sh, and the project directory exist.Unable to spawn /mnt/c/Users/<user>/.codex/tmp/arg0/codex-arg0<id>/codex-linux-sandbox because it doesn't exist on the filesystem (ENOENT: No such file or directory)..lock;/proc/<pid>/fdinfo/<fd>reports a POSIX advisory WRITE lock.statandlstatreturn ENOENT. Attempting to recreate that exact directory returned EEXIST. The attempted repair therefore failed before any sandbox link was written.$CODEX_HOME/tmp/arg0contents contain a different directory with only.lock,applypatch.bat, andapply_patch.bat.CODEX_HOMEfor the running WSL app-server is the Windows-mounted/mnt/c/Users/<user>/.codex. The mount is DrvFS/9p.codex-resources/bwrap, while/usr/bin/bwrapexists in WSL. It is not established that this warning causes the missing arg0 helper.These observations suggest a helper-directory lifecycle or cross-platform cleanup/locking issue, but we have not identified the deleting process or proven the root cause. No configuration reset or permanent sandbox-policy change was used.
mdpwbe-sys commentedon Oct 1, 2026
persists on Windows app 26.928.2636.0 with WSL2 / Ubuntu 24.04.4
I can reproduce the same failure on a newer Windows Codex app build than the one in the original report.
Timeline
Environment
WSL itself is healthy
Direct WSL execution from Windows works:
wsl -l -v
NAME STATE VERSION
Ubuntu Running 2
Direct tests inside WSL also succeed:
USER: *
HOME: /home/*
Codex: /home/*/.local/bin/codex
Version: codex-cli 0.159.3
Project directory exists
Project directory is writable
The standalone Codex CLI launched inside Ubuntu/WSL also starts normally and can respond to prompts.
So /bin/bash, WSL, the Linux filesystem, the project directory, and the standalone Linux Codex CLI are all functional outside the Desktop app.
Desktop app failure
Inside Codex Desktop, the affected chat cannot execute even the most basic Linux shell command.
I asked it to retest after verifying WSL manually. The agent reported:
The retest still fails in this chat: three attempts, including /bin/bash
inside the project and /bin/sh from /tmp, return "No such file or directory"
before the command is even executed.
No application terminal is attached to this chat.
This is important because the failure occurs before the requested shell command runs.
Changing the working directory does not help:
The same shells work normally when invoked directly in WSL.
What this seems to isolate
At least on my machine, the failure appears isolated to the Windows Desktop app -> WSL terminal/runtime attachment path, rather than to:
The Desktop chat specifically appears to have no usable application terminal attached to it.
Other diagnostics already performed
Possibly useful version/update detail
The installed Desktop app reports 26.928.2636.0.
On my machine, the Windows update manifest advertised 26.928.3736.0, but the stable x64 MSIX endpoint still served package version 26.928.2636.0, so I could not test whether 26.928.3736.0 fixes this.
Why this may be useful
The original report is on 26.928.21956; this reproduces the same class of failure on 26.928.2636.0.
The strongest signal from my case is that the exact same WSL environment works from a normal terminal and from the standalone WSL Codex CLI, while Codex Desktop fails before spawning /bin/bash or /bin/sh and reports that no application terminal is attached to the chat.
If useful, I can provide a focused Desktop log capture immediately after reproducing the failure.
notmgsk commentedon Oct 1, 2026
Same!
ttcat98 commentedon Oct 1, 2026
I’m seeing the same failure and reproduced a possible cause involving Windows and WSL sharing
CODEX_HOME.Environment
26.928.31416, build12553; updater reports up to date.0.159.2.0.6.1.CODEX_HOME:/mnt/c/Users/<user>/.codex, shared with Windows.Even
pwdfails before execution:The same command succeeds with approved execution outside the sandbox.
Observed launcher state
The running Linux Codex process still holds an open
.lockfile under:However, that directory and its
codex-linux-sandboxandcodex-execve-wrapperlaunchers no longer exist. The remaining directory contains Windows helpers such asapply_patch.batandapplypatch.bat.1stnighthawk commentedon Oct 1, 2026
I can reproduce what appears to be the same issue after updating to an even newer ChatGPT Desktop build.
Environment
26.928.31416(Powered by Codex & OWL, released Sep 30, 2026)/usr/bin/bash/home/.../myproject%USERPROFILE%\.codex\bin\wsl\65bf23c0b8844a0d\codexWSL2 OS:
PRETTY_NAME="Ubuntu 26.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04.1 LTS (Resolute Raccoon)"
VERSION_CODENAME=resolute
The bundled WSL Codex binary exists and is executable:
However, even a simple request such as:
fails before command execution. Codex reports:
WSL itself is healthy. From a normal WSL terminal,
/usr/bin/bash, the repository, Git, and normal shell commands work correctly.I also checked:
The generated
arg0directory contains only:There is no:
Restarting WSL, restarting the Desktop app, starting a new Codex conversation, and updating ChatGPT Desktop to
26.928.31416did not resolve the issue.This same WSL development environment was working normally with Codex before this regression.
Since #49789 originally reports
26.928.21956, I wanted to confirm that the issue still reproduces for me on26.928.31416.1stnighthawk commentedon Oct 2, 2026
Update: I installed the newer ChatGPT Desktop version
26.928.40906(released Oct 1, 2026), restarted WSL2, and restarted ChatGPT Desktop.Unfortunately, the issue still reproduces exactly as before. Codex still cannot start the WSL command runner, while WSL itself continues to work normally.
So this issue is still present for me in
26.928.40906.DdavidC commentedon Oct 2, 2026
The same as @1stnighthawk . Asking Codex Desktop to run a single
pwdwill get this:1stnighthawk commentedon Oct 2, 2026
Update: I just installed the newer ChatGPT Desktop Version 26.930.21537 (released Oct 1, 2026), restarted WSL2, and restarted ChatGPT Desktop.
Unfortunately, the issue still reproduces exactly as before. Codex still cannot start the WSL command runner, while WSL itself continues to work normally.
For reference, I have now reproduced the same issue on the following versions:
26.928.31416
26.928.40906
26.930.21537
So the WSL command-runner issue is still present for me in 26.930.21537.
andreasneupert-alloqis commentedon Oct 5, 2026
For me it is still present in 26.930.41038 from 03.10.
fsid commentedon Oct 10, 2026
Issue persists still on 26.1007.21434
sbviltd commentedon Oct 13, 2026
Issue still persists on 14/10/2026 with no workaround, have tested a few listed in other bug reports too, no success