-
Notifications
You must be signed in to change notification settings - Fork 26
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
alpine stop
does not delete PID file, so alpine list
reports stopped VM as "Running"
#66
Comments
It may also behoove you to add a |
Closing this issue because it stopped happening. I'm not sure why it stopped because nothing in |
I'm having this now happen to me. I exited the vm, did
The weird thing is, now ssh hangs. edit: Additionally, I ran
and it's still running:
then run
but list still shows it running. |
This is a qemu thing. |
That worked, I'll have to save those commands for later.
Thanks for letting me know. |
|
When running
alpine stop
:cmd/stop.go:24
callshost/stop.go:8
which in turn callsqemu/ops.go:166
.However, none of these delete the
alpine.pid
file which they check for. Therefore, thealpine
CLI displays the status of the stopped incorrectly VM asRunning
.Easy fix, just delete the file if it exists after a successful
stop
in whichever of these locations makes the most sense. Likely eitherqemu/ops.go
orhost/stop.go
.The text was updated successfully, but these errors were encountered: