This repository has been archived by the owner on May 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FC: Fix error of overlong firecracker API unix socket
When sandbox id is too long, it will incur error of overlong firecracker API unix socket. In Linux, sun_path could maximumly contains 108 bytes in size. http://man7.org/linux/man-pages/man7/unix.7.html So here we try to truncate FC id to only keep the size of UUID(128bit). Fixes: #2504 Signed-off-by: Penny Zheng <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters