-
Notifications
You must be signed in to change notification settings - Fork 101
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
io-uring
syscalls blocked by default on containerd > 1.7.0 security profiles
#1183
Comments
I have some more information. I did a debug build of quilkin. It works on my Ubuntu 24.04 host, but not in the debian:bookwork-slim docker container I paced it. Running the debug build inside the container did hint at the problem:
So I ran the container with elevated privileges and it worked:
So, looks like its something to with differences in the docker setup between my older Ubuntu 22.04 system and my Ubuntu 24.04 system. Should I always have been running Quilkin inside a docker container with these additional privileges? |
I've ensured the docker setup is the same on both systems and observed that |
UPDATE: The issue is caused by changes in containerd ≥ 1.7.0, where
This is the relevant PR for the change to containerd. My unbuntu 22.04 system has containerd version 1.6.22, which is why it's only been an issue since I've upgraded. |
Thank you for your issue! That certainly is annoying. I think the solution is probably just adding another fallback, where it goes back to the already existing epoll implementation for UDP traffic that is there for Linux and Windows. I assume there is a way we can query if we can call |
io-uring
syscalls blocked by default on containerd > 1.7.0 security profiles
I think a call to |
What happened:
Quilkin proxy panics on startup, as reported in this closed issue issue, where it was assumed to only occur on older versions of Linux. I'm seeing this occur on Ubuntu (24.04).
What you expected to happen:
Quilkin starts normally as it does on Ubuntu 22.04:
How to reproduce it (as minimally and precisely as possible):
As the OP in the link above did with this command:
or with the latest release (0.9.0):
Anything else we need to know?:
I'm seeing this after having installed Ubuntu 24.04 from scratch on a new system. It works fine on my Ubuntu 22.04 system.
Luckily, Quilkin version 0.8.0 works on my new Ubuntu 24.04 system (so I've downgraded for the time being).
I installed docker using
sudo apt install docker.io docker-compose-v2
on a cleanly installed and updated Ubuntu 24.04 system.Environment:
Linux Zen 6.11.0-21-generic #21~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Feb 24 16:52:15 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Logs (Quilkin 0.10.0-dev-083d425)
Logs (Quilkin 0.9.0)
The text was updated successfully, but these errors were encountered: