task-maker-rust
task-maker-rust copied to clipboard
Incompatibility with ubuntu 24.04
Ubuntu 24.04 is now more restrictive about user namespaces (similar issue with workaround: https://github.com/lima-vm/lima/issues/2319).
$ task-maker-rust
Error: Failed to start local worker
Caused by:
Sandbox failed: Error: Failed to wait sandbox
Caused by:
0: Watcher thread failed
1: Failed to write /proc/self/setgroups
Caused by:
Permission denied (os error 13)
Same issue here.
It seems that running the command with sudo fixes the issue, but I would rather run this without root privileges.
Seems like an Ubuntu issue to me, the issue linked above says that this should fix it:
echo "kernel.apparmor_restrict_unprivileged_userns = 0" >/etc/sysctl.d/99-userns.conf
sysctl --system
This is a system configuration issue, so we probably should not do more than document the workaround.