Skip to content

Codex 0.116.0 sandbox commands fail on Ubuntu 22.04 with bubblewrap 0.6.1 #15335

Closed as duplicate

Description

@magjac

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?

  1. Install @openai/[email protected]
  2. Start codex in any directory
  3. Ask it to run pwd

Example:

› 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/[email protected]: fails with bwrap: Unknown option --argv0
- @openai/[email protected]: 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsandbox

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions