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 up'qubesdb-read /qubes-vm-type' should not output 'DisposableVM' #1935
Comments
andrewdavidwong
added
bug
C: core
P: minor
labels
Apr 26, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 12, 2016
Member
This is for compatibility with configuration/scripts created before /qubes-vm-persistence was introduced. So, I'd call it a feature request, not a bug. For Qubes 3.2.
|
This is for compatibility with configuration/scripts created before |
marmarek
added
enhancement
and removed
bug
labels
May 12, 2016
marmarek
added this to the Release 3.2 milestone
May 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 12, 2016
Member
And BTW - the case when it will be a problem with be possible only in Qubes 4.0 or later. Before that we don't support disposable ProxyVMs.
|
And BTW - the case when it will be a problem with be possible only in Qubes 4.0 or later. Before that we don't support disposable ProxyVMs. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 12, 2016
Member
In the future (Qubes 4.0), there will be no separate type ProxyVM or NetVM - it will be just VM property (provides_network). How it should be handled there? I guess possible values for qubes-vm-type reduces to AppVM and TemplateVM. Any better idea?
|
In the future (Qubes 4.0), there will be no separate type ProxyVM or NetVM - it will be just VM property ( |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
May 12, 2016
Member
I think @adrelanos was right to say that TemplateBasedVM is a more precise descriptor in this case. AppVM really just means "a VM which is meant for running apps." But that could be a TemplateBasedVM or a StandaloneVM, so it's ambiguous. By contrast, TemplateBasedVM unambiguously means "a VM based on a TemplateVM."
|
I think @adrelanos was right to say that |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 12, 2016
Member
TemplateBasedVM and StandaloneVM serve the same purpose - running apps. Differs only in persistence (rw-only vs full).
|
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 12, 2016
Member
This somehow diverge from class names in core scripts - where (in Qubes 4.0) the only think distinguishing classes is persistence, not purpose. There is TemplateVM, StandaloneVM, DisposableVM etc. Whether VM provides network to other VMs is just a property (provides_network). Also running as HVM is just a property (hvm).
|
This somehow diverge from class names in core scripts - where (in Qubes 4.0) the only think distinguishing classes is persistence, not purpose. There is |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
May 15, 2016
Member
@adrelanos does it block any Whonix-related task? If not, I'd postpone it until Qubes 4.0, where VM types will be greatly simplified.
|
@adrelanos does it block any Whonix-related task? If not, I'd postpone it until Qubes 4.0, where VM types will be greatly simplified. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
May 15, 2016
Member
Marek Marczykowski-Górecki:
@adrelanos does it block any Whonix-related task? If not, I'd postpone it until Qubes 4.0, where VM types will be greatly simplified.
Qubes 4.0 is fine. (I was just forward thinking making a disposable
sys-whonix possible.)
|
Marek Marczykowski-Górecki:
Qubes 4.0 is fine. (I was just forward thinking making a disposable |
marmarek
modified the milestones:
Release 4.0,
Release 3.2
May 15, 2016
andrewdavidwong
modified the milestones:
Release 4.0,
Release 4.1
Mar 31, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jun 15, 2018
Member
Disp3030:
qubesdb-read /qubes-vm-type shows AppVM.
qubesdb-read /qubes-vm-persistence shows rw-only (#4007)
qubesdb-read /type shows DispVM.
whonix-ws-14-dvm:
qubesdb-read /qubes-vm-type shows AppVM.
qubesdb-read /qubes-vm-persistence shows rw-only
qubesdb-read /type shows AppVM.
Therefore we can consider this issue solved?
|
Disp3030:
whonix-ws-14-dvm:
Therefore we can consider this issue solved? |
adrelanos commentedApr 26, 2016
Qubes OS version (e.g.,
R3.1):R3.1
Affected TemplateVMs (e.g.,
fedora-23, if applicable):Probably all.
Expected behavior:
qubesdb-read /qubes-vm-typeshould output either:AppVM,ProxyVM,NetVM,TemplateVM'Actual behavior:
qubesdb-read /qubes-vm-typedoes output either:AppVM,ProxyVM,NetVM,TemplateVM,DisposableVMSteps to reproduce the behavior:
Run
qubesdb-read /qubes-vm-typein aDisposableVM.General notes:
qubesdb-read /qubes-vm-typeshould not outputDisposableVM. This is whatqubesdb-read /qubes-vm-persistenceis for, which outputs eitherfull(TemplateVM or Standalone),rw-only(TemplateBasedVM) ornone(DispVM).qubes-vm-typeis being overloaded. There could be in future a disposable ProxyVM. At that point, there would be two ways to find out it's a disposable VM, but no way (usingqubesdb-read) to find out it's a ProxyVM.