rpm: adjust SELinux snippets for relabeling#184
Conversation
Adjust according to https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Creating_the_Spec_File Specifically, when %selinux_relabel_post is used, %selinux_relabel_pre needs to be there too. QubesOS/qubes-issues#9663
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2025010322-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=2024111705-4.3&flavor=update
Failed tests5 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/119126#dependencies 3 fixed
Unstable testsDetails
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #184 +/- ##
==========================================
+ Coverage 79.13% 79.17% +0.04%
==========================================
Files 54 54
Lines 9953 9953
==========================================
+ Hits 7876 7880 +4
+ Misses 2077 2073 -4 ☔ View full report in Codecov by Sentry. |
Adjust according to https://fedoraproject.org/wiki/SELinux/IndependentPolicy#Creating_the_Spec_File
Specifically, when %selinux_relabel_post is used, %selinux_relabel_pre
needs to be there too.
QubesOS/qubes-issues#9663