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

DispVM always based on Fedora 23, even if parent VM is different template #1789

Closed
mfc opened this Issue Feb 28, 2016 · 7 comments

Comments

Projects
None yet
3 participants
@mfc
Member

mfc commented Feb 28, 2016

Opening a file using GUI in an x-template-based AppVM in a DispVM should open it in a x-template-based DispVM, rather than a Fedora 23-based DispVM.

This includes:

  • user-modified Fedora-23 templates
  • Debian 8 templates
  • Whonix-ws templates (I am aware of the current work on this front)

Numerous reasons for this, such as the user may have installed programs to open certain types of files in a particular AppVM (say, libreoffice) and this requires the user to install all programs also in Fedora 23 if they would like to open those types of files in DispVMs.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 28, 2016

Member

Actually having DispVM based on different template than the calling VM is a feature. Consider for example work-archive VM used to store all the work related documents, including some trade secrets etc. Surely you want to have it based on some trusted template (maybe even minimal one?). But then you still want the opportunity to open the files there, even in some fancy formats supported only by some not-so-trusted applications. This is where you can use DispVM, based on some "full" template.

You can select which template is used for DispVMs

There is also planned feature to have multiple DispVM templates (#866), which would allow what you request. This isn't decided yet, but probably it will be VM setting - which template should be used for DispVMs started from it.

Member

marmarek commented Feb 28, 2016

Actually having DispVM based on different template than the calling VM is a feature. Consider for example work-archive VM used to store all the work related documents, including some trade secrets etc. Surely you want to have it based on some trusted template (maybe even minimal one?). But then you still want the opportunity to open the files there, even in some fancy formats supported only by some not-so-trusted applications. This is where you can use DispVM, based on some "full" template.

You can select which template is used for DispVMs

There is also planned feature to have multiple DispVM templates (#866), which would allow what you request. This isn't decided yet, but probably it will be VM setting - which template should be used for DispVMs started from it.

@marmarek marmarek added the duplicate label Feb 28, 2016

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Feb 28, 2016

Member

probably it will be VM setting - which template should be used for DispVMs started from it.

yes, that sounds good, I looked in the VM settings and didn't find it (hence thinking it wasn't possible).

I disagree with the assessment it is a feature, I think most people do not use Fedora 23 as their main "full" template since backup & restore is difficult for "system" templates. So people instead clone their own Fedora 23 template and install whatever additional programs they want there. I agree that that "full" template is the ideal template for the DispVM template to be based on though.

Member

mfc commented Feb 28, 2016

probably it will be VM setting - which template should be used for DispVMs started from it.

yes, that sounds good, I looked in the VM settings and didn't find it (hence thinking it wasn't possible).

I disagree with the assessment it is a feature, I think most people do not use Fedora 23 as their main "full" template since backup & restore is difficult for "system" templates. So people instead clone their own Fedora 23 template and install whatever additional programs they want there. I agree that that "full" template is the ideal template for the DispVM template to be based on though.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 28, 2016

Member

I agree that that "full" template is the ideal template for the DispVM template to be based on though.

Exactly. And this makes it possible, even for DispVMs opened from stock/minimal templates.
As for not using "system" templates - I wouldn't be so sure about this in practice, as it require some additional step (which isn't obvious if one didn't read the documentation).

Maybe we want to run some survey on qubes-users ML? That would be interesting and useful data (also what templates are used mostly, like Debian/Fedora/Archlinux/...).

Member

marmarek commented Feb 28, 2016

I agree that that "full" template is the ideal template for the DispVM template to be based on though.

Exactly. And this makes it possible, even for DispVMs opened from stock/minimal templates.
As for not using "system" templates - I wouldn't be so sure about this in practice, as it require some additional step (which isn't obvious if one didn't read the documentation).

Maybe we want to run some survey on qubes-users ML? That would be interesting and useful data (also what templates are used mostly, like Debian/Fedora/Archlinux/...).

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 28, 2016

Member

I agree that that "full" template is the ideal template for the DispVM template to be based on though.

I disagree. My "full" template is much less trusted than my system template, but I need my DispVM template to be trustworthy since I often use DispVMs for sensitive tasks.

Member

andrewdavidwong commented Feb 28, 2016

I agree that that "full" template is the ideal template for the DispVM template to be based on though.

I disagree. My "full" template is much less trusted than my system template, but I need my DispVM template to be trustworthy since I often use DispVMs for sensitive tasks.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 7, 2016

Member

Should this be closed as a duplicate, or changed to "Survey users' TemplateVM/DispVM habits"?

Member

andrewdavidwong commented Apr 7, 2016

Should this be closed as a duplicate, or changed to "Survey users' TemplateVM/DispVM habits"?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 7, 2016

Member

I think there is no good solution for this without multiple DispVM templates at the same time. Which hopefully is not that far away. So closing as a duplicate of #866.

Member

marmarek commented Apr 7, 2016

I think there is no good solution for this without multiple DispVM templates at the same time. Which hopefully is not that far away. So closing as a duplicate of #866.

@marmarek marmarek closed this Apr 7, 2016

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Jul 26, 2016

Member

maybe this could be instead changed to: "have GUI for changing template DispVMs are based on"?

Member

mfc commented Jul 26, 2016

maybe this could be instead changed to: "have GUI for changing template DispVMs are based on"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment