diff --git a/selinux-policy.spec b/selinux-policy.spec index b471520..865bba1 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -582,6 +582,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 @@ -694,6 +695,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 @@ -767,6 +769,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 @@ -809,6 +812,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