Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with ubuntu 24.04 #248

Open
mraron opened this issue May 29, 2024 · 2 comments
Open

Incompatibility with ubuntu 24.04 #248

mraron opened this issue May 29, 2024 · 2 comments

Comments

@mraron
Copy link
Contributor

mraron commented May 29, 2024

Ubuntu 24.04 is now more restrictive about user namespaces (similar issue with workaround: lima-vm/lima#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)
@wil93
Copy link
Member

wil93 commented Oct 7, 2024

Same issue here.

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

@veluca93
Copy link
Collaborator

veluca93 commented Oct 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants