Restart qrexec-agent on update#205
Conversation
Agent restart is supported since 4.1.0 version, do restart it on update. This avoids compatibility issues when qrexec-client-vm version is newer than qrexec-agent itself.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #205 +/- ##
==========================================
+ Coverage 78.90% 78.95% +0.04%
==========================================
Files 55 55
Lines 10464 10502 +38
==========================================
+ Hits 8257 8292 +35
- Misses 2207 2210 +3 ☔ 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=2025052321-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 tests18 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/132953#dependencies 14 fixed
Unstable testsDetails
Performance TestsPerformance degradation:15 performance degradations
Remaining performance tests:41 tests
|
Use %{_unitdir} macro as installation target. This in practice changes
/lib/systemd/system to /usr/lib/systemd/system. While there is /lib ->
/usr/lib symlink, not everything is equal - for example RPM file
triggers distinguish those two. Not using /usr/lib/systemd/system
prevended systemd service restart trigger from working (the %postun
trigger only marks the service for restart, it's actually restarted by
the post-trans file trigger of systemd package).
Agent restart is supported since 4.1.0 version, do restart it on update.
This avoids compatibility issues when qrexec-client-vm version is newer
than qrexec-agent itself.