-
Notifications
You must be signed in to change notification settings - Fork 32
selinux: fix qrexec-agent restart #211
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
Conversation
When qrexec-agent restarts, it needs to remove the old socket file before creating the new one. Let the agent do that when SELinux is enabled. Fixes QubesOS/qubes-issues#9982
Remove the socket on stop/restart, do not leave stale socket there. This makes qrexec-client-vm fail more clearly if the agent is not running. The agent still needs to remove it on startup too, to handle restart after a crash too, but lets make it a fallback option, not the only option. Related to QubesOS/qubes-issues#9982
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #211 +/- ##
==========================================
- Coverage 78.87% 78.80% -0.08%
==========================================
Files 55 55
Lines 10519 10519
==========================================
- Hits 8297 8289 -8
- Misses 2222 2230 +8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025060120-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025031804-4.3&flavor=update
Failed tests8 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/132953#dependencies 14 fixed
Unstable tests
Performance TestsPerformance degradation:17 performance degradations
Remaining performance tests:39 tests
|
When qrexec-agent restarts, it needs to remove the old socket file before
creating the new one. Let the agent do that when SELinux is enabled.
Fixes QubesOS/qubes-issues#9982
And also, remove the socket on shutdown too.