task-maker-rust icon indicating copy to clipboard operation
task-maker-rust copied to clipboard

Incompatibility with ubuntu 24.04

Open mraron opened this issue 1 year ago • 2 comments

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)

mraron avatar May 29 '24 16:05 mraron

Same issue here.

It seems that running the command with sudo fixes the issue, but I would rather run this without root privileges.

wil93 avatar Oct 07 '24 21:10 wil93

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.

veluca93 avatar Oct 07 '24 21:10 veluca93