fix: reproduce container needs --security-opt apparmor=unconfined for LXD #311
Labels
No labels
action
backlog
blocked
bug-report
in-progress
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
tech-debt
underspecified
vision
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#311
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The reproduce container cannot execute any shell commands (exit code 126) when running inside LXD. Claude reports all Bash tool invocations fail with permission denied.
Root cause
Same as harb PR #1: Docker containers inside LXD need
security_opt: [apparmor=unconfined]to create Unix sockets and execute binaries. The dispatcher indocker/edge/dispatcher.shlaunches the reproduce container viadocker runbut does not pass--security-opt apparmor=unconfined.Fix
In
docker/edge/dispatcher.sh, thedispatch_reproduce()function builds the docker run command array. Add--security-opt apparmor=unconfinedto the array:Files
docker/edge/dispatcher.sh—dispatch_reproduce()function, docker run command array