PVF: Add back socket path parameter, use tmp socket path#1780
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
alindima
left a comment
There was a problem hiding this comment.
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 |
s0me0ne-unkn0wn
left a comment
There was a problem hiding this comment.
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
Problem
Running zombienet locally:
This is because by default zombienet decides to prefix things with
/tmp/zombie-a609ef68a12d8517c8174b62ee3a0899_-484651-6nFd48QbCHfOand 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