Multiple fixes to make nsjail work correctly: 1. Use absolute paths for python3 and bun binaries (/usr/bin/python3, /usr/bin/bun) since nsjail's execve doesn't use PATH 2. Update cwd to use temp directory when code is written there, so nsjail can find the script files (was using /debugger as cwd before) 3. Bind-mount /tmp from host instead of using tmpfs, so the temp directories with scripts are accessible inside the sandbox 4. Add /debugger directory mount so Python debugger server script is accessible inside nsjail 5. Add PATH environment variable to nsjail config All debugger tests now pass with ENABLE_NSJAIL=true. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB