Skip to content

Conversation

@unsuman
Copy link
Contributor

@unsuman unsuman commented Nov 18, 2025

Fixes #4362

Signed-off-by: Ansuman Sahoo <anshumansahoo500@gmail.com>
@norio-nomura
Copy link
Contributor

With this change, DriverServer should be able to shut down gracefully.
As a result of the signal handler's role, ga.sock and others are expected to be cleaned up.
When limactl start is stopped by ctrl+C in the middle, it will be transmitted to the DriverServer side and ga.sock will not remain, which is the ideal that this change should bring.

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@jandubois jandubois merged commit ec1644b into lima-vm:master Nov 19, 2025
37 checks passed
@AkihiroSuda AkihiroSuda added this to the v2.0.2 milestone Nov 19, 2025
@norio-nomura
Copy link
Contributor

When limactl start is stopped by ctrl+C in the middle, it will be transmitted to the DriverServer side and ga.sock will not remain, which is the ideal that this change should bring.

Sorry, current implementation does not forward ctrl+C on limactl start.

@unsuman
Copy link
Contributor Author

unsuman commented Nov 19, 2025

I'll fix this in #4363

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.

Signal handling mismatch for stopping external VM drivers

4 participants