Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upqvm-trim-template gets stuck on cleaning up #2728
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Mar 26, 2017
Member
I've never seen this.
Are you using a vanilla 3.2? If not, what modifications have you made?
What are the specs of your Qubes machine?
|
I've never seen this. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
Mar 27, 2017
hyperfekt
commented
Mar 27, 2017
•
|
I've made no modifications except manual partitioning to get a bigger swap
(just /boot, swap and root). The only thing I had done on the system at
that point was updating dom0 and the TemplateVMs, and cloning and upgrading the Fedora TemplateVM..
Mind that this did not happen when trimming the Fedora TemplateVMs.
I'm running on a Dell Latitude E5470 with an i5 6440HQ (VT-x and VT-d
enabled), 8GB RAM and a 256GB SATA SSD. Any other specs that could be
relevant?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Just to check: Did the VM have a long name (#1655)? |
andrewdavidwong
added
bug
C: core
labels
Mar 27, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Mar 27, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
commented
Mar 27, 2017
•
|
No, these were all the default templates. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
unman
Mar 28, 2017
Member
I dont use Whonix, but I do use Debian templates without seeing this behaviour, even on laptop with less than 8GB RAM.
I cant think of an obvious explanation why Debian based templates should behave differently from Fedora ones.
Could you try deleting the existing Debian-8, replacing it with the original taken from your install medium, and then try the trim?
|
I dont use Whonix, but I do use Debian templates without seeing this behaviour, even on laptop with less than 8GB RAM. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
Mar 28, 2017
How exactly would I go about doing that? I don't appear to be able to find the original VM on the medium.
I presume I would create the VM using the qvm-create command.
Excuse if I'm a bit slow, I'm relatively new to both Linux and Qubes.
Alternatively I wouldn't mind reinstalling Qubes to get a fresh template, I've been wanting to do that anyway.
BTW, I stumbled upon another bug while trying to do this. (#2733)
hyperfekt
commented
Mar 28, 2017
•
|
How exactly would I go about doing that? I don't appear to be able to find the original VM on the medium. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
commented
Apr 1, 2017
|
I did a complete reinstall, and this time this glitch(?) did not appear. o_o |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Ok, feel free to let us know if the issue recurs. |
hyperfekt commentedMar 26, 2017
•
edited
Edited 1 time
-
hyperfekt
edited Mar 26, 2017 (most recent)
Qubes OS version (e.g.,
R3.2):R3.2
Affected TemplateVMs (e.g.,
fedora-23, if applicable):debian-8, whonix-gw, whonix-ws
Expected behavior:
After performing fstrim the
qvm-trim-templatecommand cleans up within a few seconds and exits.Actual behavior:
fstrim done, cleaning up...is shown indefinitely. A keyboard interrupt displays the following:The directory
/var/lib/qubes/appvms/trim-[templatename]and the domaintrim-[templatename]continue to exist.Steps to reproduce the behavior:
qvm-trim-template [templatevm], where[templatevm]is one of the affected (see above)General notes:
Attempts to perform the cleanup manually with
rm -r /var/lib/qubes/appvms/trim-[templatename], followed byvirsh -c xen:/// undefine trim-[templatename](as per #1910 (comment)) andvirsh -c xen:/// destroy trim-[templatename]and then try to reproduce the issue with the same TemplateVM lead to failure to execute the qrexec-daemon:A reboot does not change this.
Related issues: