Commit 2b3f9e2
committed
fix: allow vllm-metal ZMQ IPC sockets in macOS sandbox
vllm-metal uses ZMQ IPC sockets at temporary paths under
/private/var/folders (the macOS TMPDIR) for internal inter-process
communication between API server workers. The Python sandbox profile
only allowed network-bind for Unix sockets matching the
inference.*-[0-9]+\.sock$ pattern and TCP loopback, which caused
a ZMQError: Operation not permitted when vllm-metal tried to bind
those sockets.
Allow network-bind on paths under /private/var/folders so vllm-metal
can create its internal ZMQ IPC sockets in the system temp directory.1 parent 2e8c00c commit 2b3f9e2
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | 38 | | |
35 | 39 | | |
| |||
0 commit comments