-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
rootless runc exec causes panic: cannot statfs cgroup root (When /sys is not mounted) #2573
Comments
The cause is that BuildKit doesn't mount |
A panic is less than ideal, but runc cannot work without cgroupfs -- it would be unsafe to create containers without at least the devices cgroup (or the whole eBPF rule setup under cgroupv2). |
@cyphar This issue is about rootless mode |
This comment has been minimized.
This comment has been minimized.
@AkihiroSuda Ah sorry, I missed the mention of RootlessKit in the description. |
@ashwani29 No. A rootless container is a container which is configured and created by an unprivileged user (in contrast to standard Docker-like setups where the whole thing is configured by a daemon that runs as root). The most likely reason why |
This comment has been minimized.
This comment has been minimized.
Your questions aren't related to this issue, and you're basically asking for us to help you with checkpoint-restore/criu#1199. I posted a comment there, but I would really appreciate it if you'd stop commenting on unrelated issues with support questions (I believe this is at least the third time you've done this now). |
#2634 was merged. |
Seeing a panic from
runc exec
when run with rootlesskit.Here is the full stack, runc built from latest master
Currently seeing this via some work I am doing on buildkit, I have not tried to narrow it down outside of buildkit yet.
cc @AkihiroSuda
The text was updated successfully, but these errors were encountered: