-
Notifications
You must be signed in to change notification settings - Fork 688
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
PVF: Add back socket path parameter, use tmp socket path #1780
Conversation
Looks like [the socket path limit is 108 bytes](https://man7.org/linux/man-pages/man7/unix.7.html). This should definitely be fixed, users are allowed to use an arbitrary cache path. There may be no need for the socket to be under the cache path though, I think we can revert to using a tmp location like we were before. Closes #1765
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minus the failing test
@pepoviola what's the rationale behind having that long directory suffixes in the first place? |
@mrcnski strictly speaking, the proposed fix fixes the case, but not the entire problem. That weird Ah yes, we're running as non-root, and |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as a quick fix, but probably better approach should be considered in the future.
The idea was to have some pattern like |
We're using
|
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
* Add integrity check for signed extensions * Remove unneeded type specification
Problem
Running zombienet locally:
This is because by default zombienet decides to prefix things with
/tmp/zombie-a609ef68a12d8517c8174b62ee3a0899_-484651-6nFd48QbCHfO
and that gets us beyond the socket limitation size.Fix
Looks like the socket path limit is 108 bytes. This should definitely be fixed, users are allowed to use an arbitrary cache path. There is no need for the socket to be under the cache path though, we can revert to using a tmp location like we were before.
Related
Closes #1765
This was introduced with #1373