Install: Ubuntu AppArmor policy blocks bubblewrap user namespaces #132
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk#132
Loading…
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?
Reported on Discord
Symptom
On Ubuntu, the default AppArmor policy blocks
bwrap(bubblewrap) from creating namespaces. The reporter applied the custom policy below and loaded it; afterward, it worked.Expected behavior
Beanstalk's bubblewrap sandbox should be usable on an Ubuntu system with its default AppArmor policy, or the required policy/workaround should be documented.
Related issue
Beanstalk#92 (#92) tracks a separate Windows AppContainer failure caused by Git shims; it does not cover this Ubuntu/AppArmor issue. Its fix was merged in Beanstalk PR #93.
Missing information
The report does not specify the Beanstalk version, Ubuntu version, exact operation that failed, error output/logs, or whether the issue was observed in Beanstalk's Test Farm app, dashboard, or a test run.
I am on KDE Neon (Ubuntu 24.04 LTS + KDE repos).
bwrapcame from the default Ubuntu repos