Skip to content
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

Handle if the socket exists when a service tries to start tkey-ssh-agent #115

Open
dehanj opened this issue Apr 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@dehanj
Copy link
Member

dehanj commented Apr 10, 2024

Today tkey-ssh-agent creates a unix socket which is used to communicate with the ssh client.

If the tkey-ssh-agent is run in a service, and is not exited gracefully - the socket might not be removed properly. This prevents the service from starting again, since tkey-ssh-agent automatically fails if a socket already exists with the same path. This forces the user to manually remove the existing socket, before the service will start again.

@dehanj dehanj added the bug Something isn't working label Apr 10, 2024
@dehanj dehanj changed the title Handle if the socket exist when the service starts Handle if a socket with the same path as exist when the service starts Apr 10, 2024
@dehanj dehanj changed the title Handle if a socket with the same path as exist when the service starts Handle if the socket exist when a service tires to start tkey-ssh-agent Apr 10, 2024
@dehanj dehanj changed the title Handle if the socket exist when a service tires to start tkey-ssh-agent Handle if the socket exists when a service tries to start tkey-ssh-agent Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant