-
-
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
Shutting down or rebooting dom0 while VMs are paused takes a very long time #8580
Closed
Labels
affects-4.1
This issue affects Qubes OS 4.1.
affects-4.2
This issue affects Qubes OS 4.2.
C: core
diagnosed
Technical diagnosis has been performed (see issue comments).
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
pr submitted
A pull request has been submitted for this issue.
Comments
UndeadDevel
added
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
labels
Oct 8, 2023
andrewdavidwong
added
C: core
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
affects-4.1
This issue affects Qubes OS 4.1.
labels
Oct 8, 2023
andrewdavidwong
changed the title
QubesOS shutdown or reboot take a long time when done while some VMs are paused
Shutting down or rebooting dom0 while VMs are paused takes a very long time
Oct 8, 2023
Still an issue on Q4.2rc5. I solve it by adding triggers in startup menu to unpause my DVMs on restart / shutdown / logout etc. |
This is easy. p.s.: Some internal logs of shutting down a paused qube before the patch:
|
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin-client
that referenced
this issue
Sep 3, 2024
supplements: QubesOS/qubes-issues#8580 main patch: QubesOS/qubes-core-admin#616
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin-client
that referenced
this issue
Sep 3, 2024
supplements: QubesOS/qubes-issues#8580 main patch: QubesOS/qubes-core-admin#616
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 3, 2024
andrewdavidwong
added
diagnosed
Technical diagnosis has been performed (see issue comments).
pr submitted
A pull request has been submitted for this issue.
and removed
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
labels
Sep 4, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 5, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 5, 2024
alimirjamali
added a commit
to alimirjamali/qubes-core-admin
that referenced
this issue
Sep 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-4.1
This issue affects Qubes OS 4.1.
affects-4.2
This issue affects Qubes OS 4.2.
C: core
diagnosed
Technical diagnosis has been performed (see issue comments).
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
pr submitted
A pull request has been submitted for this issue.
Qubes OS release
4.1.2
Brief summary
When shutting down or rebooting QubesOS while some VMs are paused, the process hangs for a long time (first there is a stop job running for the full 3 mins and then dracut hangs because it can't umount old-root), so shutdown/reboot take >3 mins longer than usual.
If I unpause all VMs beforehand this doesn't happen. I have added autostart commands that will unpause relevant VMs automatically on shut down / reboot / logout etc and that fixes the problem, but I feel like this should be handled by the OS. The best solution would probably be to kill paused VMs shortly after shut down or reboot is triggered. The alternative is to unpause and qvm-shutdown them, but that may not be desired security-wise. It could also be that the real issue lies somewhere else and paused VMs during shutdown merely trigger it, I suppose.
Steps to reproduce
Pause some VMs and then shut down.
Expected behavior
System shuts down normally
Actual behavior
Hangs twice and takes >3 mins longer than usual to shut down
Related issues
may be related to #5987
The text was updated successfully, but these errors were encountered: