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 upNew standalone VMs inherit template's private filesystem state #4045
Comments
andrewdavidwong
added
bug
C: core
labels
Jun 30, 2018
andrewdavidwong
added this to the Release 4.0 updates milestone
Jun 30, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Jun 30, 2018
Member
If I understand correctly, @tasket is saying that, since TemplateBasedVMs no longer inherit the contents of /home from their parent TemplateVMs in 4.0 (changed from 3.2), StandaloneVMs also should not inherit the contents of /home from the TemplateVMs from which they are created.
|
If I understand correctly, @tasket is saying that, since TemplateBasedVMs no longer inherit the contents of |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Jun 30, 2018
I was going to say that... Thanks for clarifying! The consistency part of it is the most important, IMO, because ppl will use template-based appVMs most of the time and expect the same 'cleanliness' from standalones -- but may leak files without realizing.
tasket
commented
Jun 30, 2018
|
I was going to say that... Thanks for clarifying! The consistency part of it is the most important, IMO, because ppl will use template-based appVMs most of the time and expect the same 'cleanliness' from standalones -- but may leak files without realizing. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jun 30, 2018
Member
Note that when you create a StandaloneVM from a Template, it is in fact qvm-clone --class StandaloneVM operation. But indeed it is inconsistent.
|
Note that when you create a StandaloneVM from a Template, it is in fact |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Jul 4, 2018
I guess this is limited to the GUI tool, as qvm-create gives me an error when I specify standaloneVM and a template.
Should this be resolved with import_data(blank_file) ?
tasket
commented
Jul 4, 2018
|
I guess this is limited to the GUI tool, as Should this be resolved with |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 11, 2018
Member
Should this be resolved with import_data(blank_file) ?
Better skip cloning private volume at all in such a case. See clone_vm function. Maybe some extra argument there (ignore_volumes, or clone_volumes)? Then use it in qvm-clone tool (some extra option) and also in GUI when creating standalone VM.
Better skip cloning private volume at all in such a case. See clone_vm function. Maybe some extra argument there ( |
tasket commentedJun 29, 2018
Qubes OS version:
R4.0
Affected component(s):
Standalone VMs created from templates
Steps to reproduce the behavior:
Expected behavior:
Standalone VM receives a newly-initialized private fs.
Actual behavior:
Information from template private fs is retained.
General notes:
Related issues: