-
-
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
Clarify meaning of "internal" VM and intended use cases #6604
Comments
FWIW, I haven't experienced this problem, and I also use a static DiposableVM for |
Investigating it, maybe I find some relevant details for you? Because I've set it to be an internal VM:
But setting it to Additionally, that qube is also not shown in the global settings dialog of the Qube Manager (e.g. as options for Default NetVM or ClockVM). |
Please post the output of
qvm-prefs sys-net-dvm klass
|
Strangely, the same applies to the global ClockVM setting:
But in the global settings dialog of Qube Manager, there's the entry of another of my work qubes which has nothing to do with networking on its own (it's alphabetically the first because it starts with 'd' I guess). Here you go:
|
On Thu, May 13, 2021 at 08:49:24AM -0700, Crsi wrote:
I've set it to be an internal VM:
```
$ qvm-features sys-net-dvm | grep internal
internal True
```
But setting it to `False` changes nothing.
Additionally, that qube is also not shown in the global settings dialog of the Qube Manager (e.g. as options for Default NetVM or ClockVM).
I have named disposable netVMs and they appear in all these places.
They don't appear for you because you have set the internal flag.
You need to *unset* the internal flag, not set it to False.
|
Indeed! This fixed the issue:
So, the 'boolean value' is whether some string is set there or not. Because The docs (
As this was my initial intention why to use the switch, it may be good to point out that there are other side effects like this one, too? |
This is one of those cases in which the devs had a specific use case in mind for "internal" VMs but failed to document their intentions and the specific use case. The documentation you read is misleading, because it makes it sound like not being included in the menu is all being "internal" amounts to, when that's probably just a side effect. As far as I can tell, "internal" roughly means (to developers) something like "internal component of the system that we don't want users to mess with." But, of course, there is no way that you could have known that, because it is not indicated or even hinted anywhere, so you did exactly the opposite. By default, I think only the |
You are only screwed if you have done anything in it that could compromise it (like web browsing). |
I see. I will set my AppVM (called
Actually, I expect to just don't touch it again, i.e. not using it for e.g. web browsing ;) |
By the way, the
So, you know ;) But I'll push in a sec a PR with a clearer description. |
Automated announcement from builder-github The component
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The package
|
Automated announcement from builder-github The component
|
Automated announcement from builder-github The component
Or update dom0 via Qubes Manager. |
Qubes OS version
R4.0 (up to date)
Affected component(s) or functionality
Qubes Manager GUI: net VM setting when using a disposable net VM
Brief summary
Setting the net VM for sys-firewall is not possible via GUI, because in the drop down list in the Qubes Settings for sys-firewall, there's no entry
sys-net-dvm
(how I called it). Changing the setting viaqvm-prefs
works (networking is possible) and it also shows the correct value:qvm-prefs sys-firewall | grep netvm
differs from the one seen in the qube's settings.How Reproducible
Seems to be
To Reproduce
Steps to reproduce the behavior:
sys-net-dvm
(how I called it) provides network of course.Expected behavior
It shows the correct value (
sys-net-dvm
) for sys-firewall. For all other qubes, there's a settingsys-net-dvm
.Actual behavior
It shows
sys-firewall
as net VM for sys-firewall. No accurate dropdown option in any other qube, too.As I mentioned, the net VM for sys-firewall is
sys-net-dvm
according toqvm-prefs sys-firewall | grep netvm
.Solutions you've tried
It's only a GUI problem I guess. Using the command line works as expected.
Relevant documentation you've consulted
https://www.qubes-os.org/doc/disposablevm-customization/
Related, non-duplicate issues
Didn't find any
The text was updated successfully, but these errors were encountered: