-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
qvm-shutdown on paused VMs behaves oddly #5987
Comments
I can imagine that there might be a security concern here. If a VM was paused because it was doing something malicious, then I suppose unpausing it could be dangerous, even if only to shut it down. If that's the reason for the current behavior, perhaps the user should be prompted when attempting to a shut down a paused VM. Also, it may very well be that the user attempting the shutdown forgot that the VM was paused and would be grateful to be reminded. |
That's what If a user manages to mistype |
The user not knowing the difference seems much more likely than a typo.
Oh, those were meant to be two separate examples. |
This issue is being closed because:
If anyone believes that this issue should be reopened and reassigned to an active milestone, please leave a brief comment. |
Qubes OS version
4.0
Affected component(s) or functionality
qvm-shutdown
Brief summary
qvm-shutdown
hangs for a while and then apparently kills paused VMs.To Reproduce
Expected behavior
qvm-shutdown
performs the shutdown. Possibly even gracefully (i.e. by unpausing the VM first).Actual behavior
qvm-shutdown
hangs for 10s or so. Then it apparently kills the VM.Recommendation
From my point of view it would be sensible to handle paused VMs as follows:
qvm-shutdown
: Unpause and shutdown gracefully as usual.qvm-kill
: Do not unpause, remove it from memory instantly (shouldn't take 10s).Related, non-duplicate issues
#5967
The text was updated successfully, but these errors were encountered: