Codex 0.116.0 sandbox commands fail on Ubuntu 22.04 with bubblewrap 0.6.1
What version of Codex CLI is running?
0.116.0
What subscription do you have?
ChatGPT Plus
Which model were you using?
gpt-5.4
What platform is your computer?
Linux 6.8.0-106-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
GNOME Terminal Version 3.44.0 for GNOME 42
What issue are you seeing?
Sandboxed commands fail before the actual command runs, with:
bwrap: Unknown option --argv0
This happens even for trivial commands like pwd.
What steps can reproduce the bug?
- Install
@openai/codex@0.116.0 - Start
codexin any directory - Ask it to run
pwd
Example:
```text
› Run "pwd" and see if there an error?
• Ran pwd
└ bwrap: Unknown option --argv0
What is the expected behavior?
The command should run normally. For example, pwd should print the current directory.
Additional information
Environment details:
- OS: Ubuntu 22.04
- bwrap --version: bubblewrap 0.6.1
- which bwrap: /usr/bin/bwrap
This reproduces in a fresh Codex session and in unrelated repositories, so it does not appear repo-specific.
Version comparison on the same machine:
- @openai/codex@0.116.0: fails with bwrap: Unknown option --argv0
- @openai/codex@0.115.0: works normally
This suggests 0.116.0 started invoking bubblewrap with --argv0, but Ubuntu 22.04's packaged bubblewrap 0.6.1 does not support
that flag.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗