Skip to content

Codex is looking for bwrap in wrong place #15340

@bromdun

Description

@bromdun

What version of the Codex App are you using (From “About Codex” dialog)?

0.116.0 CLI

What subscription do you have?

Pro

What platform is your computer?

Ubuntu

What issue are you seeing?

I have the bubblewrap installed, but I'm unable to install it to the location that Codex is looking for it at. So I still get this error: ⚠ Codex could not find system bubblewrap at /usr/bin/bwrap. Please install bubblewrap with your package manager. Codex will use the vendored bubblewrap in the meantime.

The issue is that Codex is looking specifically at /usr/bin/bwrap, but since bubblewrap was installed via Nix, the binary lives in the Nix store — not in /usr/bin. Both /usr/bin and /usr/local/bin are read-only in this environment, so we can't place a symlink there for Codex to find.

And it seems there are permission issues related to using the vendor bubblewrap because I'm unable to do code reviews using /review. Everything works in 0.114.0. But I have lots of bwrap related problems with 0.115.0, which was unusable. And still in 0.116.0, I have these problems, though it seems to run better than the previous version. I've had to go back to using 0.114.0.

What steps can reproduce the bug?

Just have bubblewrap installed in a location different than where Codex is looking for.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcode-reviewIssues relating to code reviews performed by codexsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions