Skip to content

platformd: mount socket parent dir instead of direct path#324

Merged
freggy merged 3 commits into
mainfrom
frg/mount-sock-dir
May 23, 2026
Merged

platformd: mount socket parent dir instead of direct path#324
freggy merged 3 commits into
mainfrom
frg/mount-sock-dir

Conversation

@freggy
Copy link
Copy Markdown
Member

@freggy freggy commented May 23, 2026

if we directly mount the path to the unix socket into the container, once platformd restarts and closes the socket, the mount will go stale. we can work around this by mounting the parent directory of the socket, because this one will still be valid if platformd is stopped.

after restart the socket file will be in its old place and clients are able to make requests again.

@freggy freggy self-assigned this May 23, 2026
@freggy freggy merged commit 0f41061 into main May 23, 2026
7 checks passed
@freggy freggy deleted the frg/mount-sock-dir branch May 23, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant