-
Notifications
You must be signed in to change notification settings - Fork 619
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
Don't delete local socket when reverse #1725
Conversation
Actually we should delete the remote socket, otherwise restart fails. WARN[0031] [hostagent] Failed to set up forward from "/var/tmp/docker.sock" (guest) to "/var/run/docker.sock" (host) EDIT: notice that the error message (for fail) was wrong as well, we're forwarding from host to guest (with reverse) |
c187e28
to
7ac98b9
Compare
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.
Thanks
Rebasing may fix the CI failure |
When we are forwarding a local socket, we should not delete it. Doing so would interrupt the local service, if delete succeeds. Signed-off-by: Anders F Björklund <[email protected]>
Signed-off-by: Anders F Björklund <[email protected]>
7ac98b9
to
05cff79
Compare
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.
Thanks, but we should have a test for this
When we are forwarding a local socket, we should not delete it.
Theoretically we could delete the remote socket, if it exists.
Closes #1724