Repository navigation
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.917.51856
What subscription do you have?
Plus
What platform is your computer?
Ubuntu 24.04.5 LTS (Noble)
What issue are you seeing?
After the ChatGPT Linux application updated from 26.915.31029 to 26.917.51856, Codex can no longer execute commands using its normal Linux sandbox.
The failure is reproducible directly using the Codex CLI bundled with the ChatGPT application, independently of the GUI or any particular repository.
Environment:
OS: Ubuntu 24.04.5 LTS (Noble)
Kernel: 7.0.0-31-generic
Architecture: x86_64
Bubblewrap: 0.9.0
ChatGPT Linux: 26.917.51856
Previous working ChatGPT version: 26.915.31029
Bundled Codex: codex-cli 0.155.0-alpha.16
Codex binary: /usr/lib/chatgpt/resources/codex
Minimal reproduction:
/usr/lib/chatgpt/resources/codex sandbox /bin/true
Result:
error building bubblewrap command: mountinfo path is not absolute
Exit status is 1.
The same occurs with:
/usr/lib/chatgpt/resources/codex sandbox /bin/pwd
Result:
error building bubblewrap command: mountinfo path is not absolute
Within a normal Codex agent session, sandboxed shell commands and apply_patch fail with the same underlying error. For example, the agent reports:
The normal command sandbox and apply_patch both fail with:
error building bubblewrap command: mountinfo path is not absolute
The underlying system Bubblewrap appears to work correctly:
bwrap --ro-bind / / /bin/true
echo $?
returns:
0
User namespaces are enabled:
$ cat /proc/sys/kernel/unprivileged_userns_clone
1
I also checked /proc/self/mountinfo for mount points that are not absolute:
awk '$5 !~ /^// {print NR ": " $0}' /proc/self/mountinfo
This produces no output.
HOME and PWD are also normal absolute paths (PII redacted):
PWD=/home/
HOME=/home/
Running:
/usr/lib/chatgpt/resources/codex doctor
reports:
18 ok · 1 idle · 1 notes · 1 warn · 0 fail
The one warning concerns historical rollout/session files and appears unrelated. Codex Doctor reports the sandbox configuration as present and the state databases as healthy.
The ChatGPT package update occurred immediately before I began seeing the problem:
2026-09-22 19:16:47 upgrade chatgpt:amd64 26.915.31029 26.917.51856
2026-09-22 19:16:57 status installed chatgpt:amd64 26.917.51856
Codex sandboxing had been working normally before this update.
Restarting Codex and completely restarting the ChatGPT application does not resolve the problem.
This appears to fail while the bundled Codex runtime is constructing the Bubblewrap command, before Bubblewrap executes the requested command. The system bwrap executable itself continues to work normally.
What steps can reproduce the bug?
-
Install/run ChatGPT Linux
26.917.51856on Ubuntu 24.04.5 LTS. This version bundlescodex-cli 0.155.0-alpha.16. -
Open a terminal. No repository or Codex agent session is required.
-
Confirm the bundled Codex version:
/usr/lib/chatgpt/resources/codex --versionOutput:
codex-cli 0.155.0-alpha.16
- Attempt to execute a trivial command through the Codex sandbox:
/usr/lib/chatgpt/resources/codex sandbox /bin/true- The sandbox fails before
/bin/trueis executed:
error building bubblewrap command: mountinfo path is not absolute
The command exits with status 1.
The same failure can be reproduced with:
/usr/lib/chatgpt/resources/codex sandbox /bin/pwdwhich produces:
error building bubblewrap command: mountinfo path is not absolute
For comparison, the system Bubblewrap works:
bwrap --ro-bind / / /bin/true
echo $?Output:
0
I also checked for non-absolute mount points in /proc/self/mountinfo:
awk '$5 !~ /^\// {print NR ": " $0}' /proc/self/mountinfoThis produces no output.
The issue also occurs during normal Codex agent operation: sandboxed shell commands and apply_patch fail with the same mountinfo path is not absolute error.
The problem started after ChatGPT Linux was upgraded from 26.915.31029 to 26.917.51856. Sandboxed command execution was working before the upgrade.
Session ID: Not applicable — the minimal reproduction occurs directly through codex sandbox without starting a model session.
Token limit usage: Not applicable.
Context window usage: Not applicable.
What is the expected behavior?
No response
Additional information
No response
Activity
github-actions commentedon Sep 22, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
mountinfo path is not absolute#46110Powered by Codex Action
Neoony commentedon Sep 22, 2026
Adding a related report: an update was just pushed to the VS Code prerelease channel, and it still bundles
codex-cli 0.155.0-alpha.16.Extension:
openai.chatgpt 26.5917.51856Environment: VS Code Insiders, WSL2, Linux x64
Update received: September 22, 2026
Sandboxed commands fail before execution, including a simple
true, with:Individually approved commands outside the sandbox succeed. No mounts or sandbox settings were changed.
This differs from the
mountinfo path is not absoluteerror in the original report, but affects the same bundled backend.PR #46125, merged September 17, addresses the WSLg preflight-mask mismatch. The bundled alpha.16 release source predates that fix, yet it is included in the VS Code prerelease pushed today.
The newly distributed desktop and VS Code packages should be refreshed to include the relevant Linux sandbox fixes
young03600 commentedon Sep 23, 2026
Same issue here.
My codex version is
26.917.61114..vscode-server/extensions/openai.chatgpt-26.917.61114-linux-x64/bin/linux-x86_64/codex sandbox /bin/trueshows:error building bubblewrap command: mountinfo path is not absolute
Quick fix (Useful to me):
If you are using vscode with codex extension, just rollback the extension version to
26.908.40401. It works as usual.shi-yang999 commentedon Sep 23, 2026
Same issue here.
openai.chatgpt
version:
26.917.61114
Chihsiao commentedon Sep 23, 2026
The same.
ChatGPT Desktop 26.917.61114, installed via rpm.
shi-yang999 commentedon Sep 23, 2026
I returned to an earlier version, but the new model is no longer available.
Chaoscontrol commentedon Sep 23, 2026
How to rollback? I'm happy to use the old versions, but at least I'd be able to work. Atm I'm stuck as no project can write files.
namprobe commentedon Sep 23, 2026
Possibly related WSL2 case, though my error differs from the native-Ubuntu error in this issue. On Ubuntu 24.04.4 in WSL2 (WSL 2.7.14.0, WSLg 1.0.73.2), Codex CLI 0.155.0-alpha.16.3 failed while building the sandbox:
On my machine,
/mnt/wslg/distrowas a read-only mount of the same/dev/sddfilesystem as/. Bubblewrap itself could run/bin/true, but Codex sandboxed operations andapply_patchupdates/deletes failed.Temporary WSL2 workaround, if you do not need Linux GUI apps: add
guiApplications=falseto the existing[wsl2]section of Windows%UserProfile%\.wslconfig:Then run
wsl --shutdownin PowerShell and reopen WSL. After that,/mnt/wslg/distrowas no longer mounted,codex sandbox /bin/trueexited successfully, and I verified native file creation, editing, and deletion.This disables WSLg GUI apps. It does not establish a fix for the original
mountinfo path is not absoluteerror on native Ubuntu.young03600 commentedon Sep 23, 2026
In vscode, I rollback the codex extension to Version
26.908.40401, GPT-6 Astra is still available.30 remaining items
aragornii commentedon Oct 1, 2026
Hopefully not. Going back to 31748 solves the issue, Sol 6.1 isn't available but I'm using Sol 5.6 in any case.
Neoony commentedon Oct 1, 2026
you can use 6.1 Sol if you just make it use newer CLI
Just ask codex to set up custom codex cli for vscode
Then it will set up
"chatgpt.cliExecutable": "/home/user/.local/share/codex-backends/0.156.1/bin/codex"
with newer one
Then you have extension using newer cli instead of the bundled
That worked great even with latest prerelease cli (until there would be some code not aligning, vscode ui code <-> newer codex cli)
Plus you get all kinds of improvements, I am probably anyways just going to continue doing this, since the bundled one is just sooo much behind all the time
young03600 commentedon Oct 1, 2026
Works fine on my end so far. Any specific steps to reproduce the error?
aragornii commentedon Oct 1, 2026
Thanks @Neoony, I'll try that.
@young03600 For me, it's as simple as opening a chat (I only tried with an existing chat though before rolling back to 31748) and sending a new message. Most of the times, the message doesn't go through.
Neoony commentedon Oct 1, 2026
Pretty much any time you send another reply in some conversation
Starting conversation was fine, but the subsequent messages were not
Tried either in Windows vscode or in WSL on 2 machines, both same (restarting WSL didnt help either)
Whether its an old chat or new, didnt matter.
Something wrong with "resuming thread"
young03600 commentedon Oct 2, 2026
I tried this on my local desktop (Win11) connecting to a remote Linux server via SSH, but I couldn't reproduce the error on my end.
Anyway, the Codex extension has just been updated to
26.930.21537. The bug might have been fixed in this release.aragornii commentedon Oct 2, 2026
Thanks for your feedback @young03600. Unfortunately, the
26.930.21537update hasn't solved the send-message bug on my end, it could be something happening only when connecting to WSL2, not sure though.Neoony commentedon Oct 2, 2026
I had the same thing on pure Windows though, hmm 🤔
Neoony commentedon Oct 2, 2026
Also I do not actually see any newer version than 5928 🤷
aragornii commentedon Oct 2, 2026
@Neoony
26.930.21537is on release channel only, not in pre-release.Neoony commentedon Oct 2, 2026
what a mess...
Neoony commentedon Oct 2, 2026
Same here, weird
(pretty much same after restarting WSL and only having one vscode codex open)
Its also not just one issue
EDIT: the extension had such a good run, barely any issues whole year, every single day used, windows(10+11)/wsl, while everyone with desktop app complaining all the time, until this whole linux/wsl sandbox breaking and then all this D:
Good thing is that it takes 2 clicks to downgrade (very much unlike the desktop app)
aragornii commentedon Oct 3, 2026
I'm testing
26.930.31730and, although there's some delay between clicking theSendbutton orEnterkey and actually seeing the message sent, it seems that most of the messages are going through. It seems thatEnterworks way better than theSendbutton.EDIT: Actually it seems that the first
Enterdoesn't work, only the second one. This is getting more and more weird.Neoony commentedon Oct 4, 2026
I went to 26.930.41038 Release channel
And it seems fine now
JamiA97 commentedon Oct 15, 2026