You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
codex: sandbox cannot create namespaces in a container with bubblewrap installed #1266
During the review of #1258, @35C4n0r reported that sandboxed commands fail in a container even after installing bubblewrap:
bwrap: No permissions to create a new namespace, likely because the kernel does not allow non-privileged user namespaces. See <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.
The reviewer does not see the error on their local machine. A container runtime or host security restriction is suspected, but the cause has not been established. The Codex version, workspace image, host OS, and container security settings are still needed to reproduce it independently.
Steps to Reproduce
Reported by the reviewer:
Install Codex and bubblewrap in the affected container workspace.
Run codex sandbox echo "hello World".
Observe the namespace permission error above.
Expected Behavior
Sandboxed commands should run in a supported workspace configuration. Identify the restriction and document or implement the appropriate fix at the module, template, or host layer, preserving sandbox isolation.
This follows up on #1251 and #1258, which cover prerequisite documentation and a non-fatal warning when bwrap is missing. An executable on PATH does not establish that namespace creation is permitted.
Activity
linear-code commentedon Nov 17, 2026
REG-143