From 489937c6c24e89946294d66eaeaeec8f8e15bdb0 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Thu, 21 Apr 2022 09:15:28 +0200 Subject: [PATCH] Relabel explicitly some dirs in %posttrans scriptlets --- selinux-policy.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/selinux-policy.spec b/selinux-policy.spec index bb793ab7..628960e4 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -583,6 +583,7 @@ exit 0 %posttrans targeted %checkConfigConsistency targeted +%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d %postun targeted if [ $1 = 0 ]; then @@ -695,6 +696,7 @@ exit 0 %posttrans minimum %checkConfigConsistency minimum +%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d %postun minimum if [ $1 = 0 ]; then @@ -768,6 +770,7 @@ exit 0 %posttrans mls %checkConfigConsistency mls +%{_sbindir}/restorecon -R /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d %postun mls if [ $1 = 0 ]; then @@ -810,6 +813,9 @@ exit 0 %endif %changelog +* Thu Apr 21 2022 Zdenek Pytela - 36.7-2 +- Relabel explicitly some dirs in %posttrans scriptlets + * Thu Apr 21 2022 Zdenek Pytela - 36.7-1 - Add stalld module to modules-targeted-contrib.conf