slash command /review failed because sandbox stops running shell command

Open 💬 3 comments Opened Mar 25, 2026 by xuziqiang98

What version of Codex CLI is running?

codex-cli 0.116.0

What subscription do you have?

gpt-plus

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.17.0-19-generic x86_64 x86_64

What terminal emulator and version are you using (if applicable)?

Termius, connecting to ubuntu with tmux

What issue are you seeing?

I directly use /review command to review uncommit code, but failed and told me
" I could not inspect the repository state because every shell command failed in the current sandbox (bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted), so I found no actionable issues from the available context."
Then I give it full access via /approvals command and run /review again. This time codex updates plan first using update_plan tool and then still failed:
“ I could not inspect the staged/unstaged/untracked changes because every attempt to read the
working tree failed in this environment with bwrap: loopback: Failed RTM_NEWADDR: Operation not
permitted. Since the patch could not be validated, it should not be considered correct based on
this review.”

The full procedure like following:

> Code review started: current changes <<

› Review the current code changes (staged, unstaged, and untracked files) and provide prioritized
findings.

I could not inspect the repository state because every shell command failed in the current
sandbox (bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted), so I found no actionable
issues from the available context.

<< Code review finished >>

• I could not inspect the repository state because every shell command failed in the current
sandbox (bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted), so I found no actionable
issues from the available context.

• Permissions updated to Full Access

> Code review started: current changes <<

• Updated Plan
└ □ Inspect repository status and diffs
□ Analyze changes for actionable bugs
□ Produce prioritized review findings JSON

• Updated Plan
└ Shell commands are blocked by the sandbox (bwrap: loopback: Failed RTM_NEWADDR: Operation not
permitted
), so I couldn't inspect the working tree or diffs. Proceeding with a transparent,
no-findings result rather than inventing issues.
✔ Inspect repository status and diffs
✔ Analyze changes for actionable bugs
□ Produce prioritized review findings JSON

I could not inspect the staged/unstaged/untracked changes because every attempt to read the
working tree failed in this environment with bwrap: loopback: Failed RTM_NEWADDR: Operation not
permitted. Since the patch could not be validated, it should not be considered correct based on
this review.

<< Code review finished >>

• I could not inspect the staged/unstaged/untracked changes because every attempt to read the
working tree failed in this environment with bwrap: loopback: Failed RTM_NEWADDR: Operation not
permitted. Since the patch could not be validated, it should not be considered correct based on
this review.

What steps can reproduce the bug?

like above box

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗