-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
--overlay2=none + supervisord - panic: interface conversion: interface {} is nil, not *gofer.lisafsDentry #10143
Comments
This looks to be due to The comment in /cc @ayushr2 |
TLDR; Pass either
The
The application tries to bind a socket at Yes the sentry should not be panicking. I will look into it. There seems to be some bug, given chmod(/tmp/supervisor.sock.1) even though the file should not be existing after the failed BindAt RPC. |
I think I understand the problem. When BindAt returns EPERM, we fallback to creating a synthetic socket.
The precondition is actually met. It is regarding I believe this is the same issue as #6577. For now, you can:
|
Thanks for the quick turn-around! Will give this a test once the nightly is cut. |
Please note that even with this fix, the application may fail (because the said link(2) syscall will fail with EOPNOTSUPP). But the sentry will not panic. To get the application to work properly, refer to the two suggestions mentioned in #10143 (comment). |
Description
With running gVisor with the
--overlay2=none
config, supervisord (with unix_http_server configured) will cause gvisor to panic.Here's the panic from the gVisor debug log. Full log available at runsc-debug.log.
Steps to reproduce
runsc must be configured with the
--overlay2=none
Reproducer Image (Docker Hub): https://hub.docker.com/layers/jcodybaker/gvisor-supervisord-crash/latest/images/sha256-e84134b1f2267b7b7f678232c3b6c6394a2fa8056d28de5bcc2ae3818497c176?context=repo
GitHub Dockerfile + config: https://github.com/jcodybaker/apps-8443-repro
runsc version
docker version (if using docker)
uname
Linux gvisor-dev 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
kubectl (if using Kubernetes)
No response
repo state (if built from source)
No response
runsc debug logs (if available)
The text was updated successfully, but these errors were encountered: