Set 'wait-for-session=1' for 'qubes.VMShell+WaitForSession'

This is intended to be used for DispVMs for which only a single RPC call
can be made before they are destroyed.

Fixes QubesOS/qubes-issues#3012
This commit is contained in:
Rusty Bird 2018-01-14 19:20:58 +00:00
parent 1b774f9a87
commit ce1f0af216
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF
3 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ etc/qubes/rpc-config/qubes.SelectFile
etc/qubes/rpc-config/qubes.SelectDirectory etc/qubes/rpc-config/qubes.SelectDirectory
etc/qubes/rpc-config/qubes.StartApp etc/qubes/rpc-config/qubes.StartApp
etc/qubes/rpc-config/qubes.InstallUpdatesGUI etc/qubes/rpc-config/qubes.InstallUpdatesGUI
etc/qubes/rpc-config/qubes.VMShell+WaitForSession
etc/qubes/suspend-post.d/README etc/qubes/suspend-post.d/README
etc/qubes/suspend-post.d/*.sh etc/qubes/suspend-post.d/*.sh
etc/qubes/suspend-pre.d/README etc/qubes/suspend-pre.d/README

View File

@ -0,0 +1 @@
wait-for-session=1

View File

@ -591,6 +591,7 @@ rm -f %{name}-%{version}
%config(noreplace) /etc/qubes/rpc-config/qubes.SelectDirectory %config(noreplace) /etc/qubes/rpc-config/qubes.SelectDirectory
%config(noreplace) /etc/qubes/rpc-config/qubes.StartApp %config(noreplace) /etc/qubes/rpc-config/qubes.StartApp
%config(noreplace) /etc/qubes/rpc-config/qubes.InstallUpdatesGUI %config(noreplace) /etc/qubes/rpc-config/qubes.InstallUpdatesGUI
%config(noreplace) /etc/qubes/rpc-config/qubes.VMShell+WaitForSession
%dir /etc/qubes/autostart %dir /etc/qubes/autostart
%config(noreplace) /etc/default/grub.qubes %config(noreplace) /etc/default/grub.qubes
/etc/qubes/autostart/README.txt /etc/qubes/autostart/README.txt