From 600126801d76797f7294b7b065c69c754a0d6639 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Fri, 27 Aug 2021 11:47:37 +0200 Subject: [PATCH] * Fri Aug 27 2021 Zdenek Pytela - 34.17-2 - Relabel /var/lib/rpm explicitly - Revert "Relabel /dev/dma_heap explicitly" --- selinux-policy.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 5478def2..77039913 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -24,7 +24,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 34.17 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Source: %{giturl}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source1: modules-targeted-base.conf @@ -285,6 +285,8 @@ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = %1 -a -f ${FILE_CONTEXT}.p %{_sbindir}/fixfiles -C ${FILE_CONTEXT}.pre restore &> /dev/null > /dev/null; \ rm -f ${FILE_CONTEXT}.pre; \ fi; \ +# rebuilding the rpm database still can sometimes result in an incorrect context +%{_sbindir}/restorecon -R /var/lib/rpm \ if %{_sbindir}/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \ continue; \ fi; @@ -806,6 +808,10 @@ exit 0 %endif %changelog +* Fri Aug 27 2021 Zdenek Pytela - 34.17-2 +- Relabel /var/lib/rpm explicitly +- Revert "Relabel /dev/dma_heap explicitly" + * Fri Aug 27 2021 Zdenek Pytela - 34.17-1 - Add support for at-spi - Add permissions for system dbus processes