-
Notifications
You must be signed in to change notification settings - Fork 27
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
qrexec-client: handle failed service exec #42
Conversation
Codecov Report
@@ Coverage Diff @@
## master #42 +/- ##
==========================================
+ Coverage 74.51% 74.54% +0.03%
==========================================
Files 41 41
Lines 6612 6632 +20
Branches 474 477 +3
==========================================
+ Hits 4927 4944 +17
- Misses 1431 1432 +1
- Partials 254 256 +2
Continue to review full report at Codecov.
|
Do you think it fixes the issue in https://openqa.qubes-os.org/tests/7251 ? |
Otherwise, qrexec-client just hangs when it fails to spawn a process, or connect to a socket service. This corresponds to the fix for qrexec-agent in commit 95fa4bb.
This makes icon-sender handle GUI restart, same as qubes-gui and audio. However, in this case we are not running raw vchan, but Qubes RPC, so the procedure is more complicated: we start a qrexec-client-vm subprocess, and restart it if it breaks. Needs icon-receiver to be a service with wait-for-session (QubesOS/qubes-gui-daemon#37), and fix for socket services in dom0 (QubesOS/qubes-core-qrexec#42).
This makes icon-sender handle GUI restart, same as qubes-gui and audio. However, in this case we are not running raw vchan, but Qubes RPC, so the procedure is more complicated: we start a qrexec-client-vm subprocess, and restart it if it breaks. Needs icon-receiver to be a service with wait-for-session (QubesOS/qubes-gui-daemon#37), and fix for socket services in dom0 (QubesOS/qubes-core-qrexec#42).
AFAICT, the impact for this one is minimal - only socket services in dom0 that are not running at the moment. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/7365#dependencies Failed tests
New failuresCompared to: https://openqa.qubes-os.org/tests/6362#dependencies
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/6362#dependencies
|
This makes icon-sender handle GUI restart, same as qubes-gui and audio. However, in this case we are not running raw vchan, but Qubes RPC, so the procedure is more complicated: we start a qrexec-client-vm subprocess, and restart it if it breaks. Needs icon-receiver to be a service with wait-for-session (QubesOS/qubes-gui-daemon#37), and fix for socket services in dom0 (QubesOS/qubes-core-qrexec#42).
Otherwise, qrexec-client just hangs when it fails to spawn a
process, or connect to a socket service.
This corresponds to the fix for qrexec-agent in commit
95fa4bb.