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 upTemplateVMs restored from 3.2 don't start applications #3514
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
ecdsa521
Feb 1, 2018
The new launchers are using qubes.StartApp RPC which doesn't exist in old templates. You can manually start eg. qvm-run vmname gnome-terminal and upgrade the template or copy over said RPC from bundled 4.0 template.
But tbh I ran into all sorts of problems doing that, and it was much less painful to just port my changes to 4.0 template.
ecdsa521
commented
Feb 1, 2018
|
The new launchers are using But tbh I ran into all sorts of problems doing that, and it was much less painful to just port my changes to 4.0 template. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
Feb 1, 2018
I see! Thanks for the hint, this is somewhat nonobvious and the instructions for upgrading say to just backup and restore - the fact that that's not sufficient for TemplateVMs should probably be included in the same place (possibly in addition to instructions how to upgrade templates to R4.0).
hyperfekt
commented
Feb 1, 2018
•
|
I see! Thanks for the hint, this is somewhat nonobvious and the instructions for upgrading say to just backup and restore - the fact that that's not sufficient for TemplateVMs should probably be included in the same place (possibly in addition to instructions how to upgrade templates to R4.0). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Feb 1, 2018
Member
See also here: https://www.qubes-os.org/doc/upgrade-to-r4.0/
There is also support for old templates (lacking qubes.StartApp service), but it may not be enabled by default. Check with qvm-features command on your template/standalone qube - it should be listed as appmenus-legacy. If it's there but applications do not start, regenerate menu entries with qvm-sync-appmenus --regenerate-only VMNAME (where VMNAME is a template or standalone qube).
Anyway, it is better to use new templates, because some more new features of 4.0 may not work with the old one. Upgrading templates 3.2->4.0 should also be possible, but we haven't tested it thoroughly...
|
See also here: https://www.qubes-os.org/doc/upgrade-to-r4.0/ There is also support for old templates (lacking qubes.StartApp service), but it may not be enabled by default. Check with Anyway, it is better to use new templates, because some more new features of 4.0 may not work with the old one. Upgrading templates 3.2->4.0 should also be possible, but we haven't tested it thoroughly... |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hyperfekt
Feb 1, 2018
Ah, thank you! Default support is indeed off.
A link to this document is missing from the R4 release notes (where heavily shortened upgrade instructions are provided). It should probably also more explicitly say that templates are to be recreated, since it also says to upgrade them and simply links to the Fedora upgrade guides, which might lead users to believe they should be functional on R4 without further changes.
hyperfekt
commented
Feb 1, 2018
•
|
Ah, thank you! Default support is indeed off. |
hyperfekt commentedFeb 1, 2018
•
edited
Edited 7 times
-
hyperfekt
edited Feb 1, 2018 (most recent)
-
hyperfekt
edited Feb 1, 2018
-
hyperfekt
edited Feb 1, 2018
-
hyperfekt
edited Feb 1, 2018
-
hyperfekt
edited Feb 1, 2018
-
hyperfekt
edited Feb 1, 2018
-
hyperfekt
edited Feb 1, 2018
Qubes OS version:
R4.0rc4
Affected TemplateVMs:
Steps to reproduce the behavior:
Expected behavior:
The VM is started and the application's window opens.
The qrexec log for the VM is empty.
Actual behavior:
The VM starts, but the application is not started. Using the console with
sudo xl console [VM name]reveals the VM has started properly, but the application has not. Starting applications from there works as if started from dom0.The qrexec log for the VM contains
eintr.General notes:
The TemplateVMs work fine under Qubes R3.2.
No change has been made after restoring them.
I'm happy to provide further details that will probably be needed to pin this down, if instructions are given.
Related issues: