mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-01 14:34:42 +01:00
I1: run paid eval containers with seccomp unconfined so Codex's sandbox can start
Docker's default seccomp profile blocks the user namespaces bubblewrap needs, so every Codex command in a paid eval failed with 'bwrap: No permissions to create a new namespace' (codex-review-findings, run 37151477069). Reproduced in the CI image locally: default profile fails, seccomp=unconfined runs the command. The runner stays non-root.
This commit is contained in:
1 parent
3a13b6d0c0
commit
ec97187d96
4 files changed
+14
-5
No files matched your search
@@ -129,7 +129,9 @@ jobs:
|
||||
credentials:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
options: --user runner
|
||||
# Docker's default seccomp profile blocks the user namespaces Codex's
|
||||
# bubblewrap sandbox needs; without them every Codex command fails.
|
||||
options: --user runner --security-opt seccomp=unconfined
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 8
|
||||
|
||||
@@ -161,7 +161,9 @@ jobs:
|
||||
credentials:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
options: --user runner
|
||||
# Docker's default seccomp profile blocks the user namespaces Codex's
|
||||
# bubblewrap sandbox needs; without them every Codex command fails.
|
||||
options: --user runner --security-opt seccomp=unconfined
|
||||
strategy:
|
||||
fail-fast: false
|
||||
# Every planned slice starts at once; test/evals-workflow-wiring.test.ts
|
||||
@@ -299,7 +301,9 @@ jobs:
|
||||
credentials:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
options: --user runner
|
||||
# Docker's default seccomp profile blocks the user namespaces Codex's
|
||||
# bubblewrap sandbox needs; without them every Codex command fails.
|
||||
options: --user runner --security-opt seccomp=unconfined
|
||||
strategy:
|
||||
# Two file workers per slice, each retaining two in-file case workers.
|
||||
fail-fast: false
|
||||
|
||||
@@ -222,7 +222,9 @@ jobs:
|
||||
credentials:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
options: --user runner
|
||||
# Docker's default seccomp profile blocks the user namespaces Codex's
|
||||
# bubblewrap sandbox needs; without them every Codex command fails.
|
||||
options: --user runner --security-opt seccomp=unconfined
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 16
|
||||
|
||||
Reference in new issue
Block a user