From 0f27d97ff5194d3503caaf537e18e27099b7a3ef Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Sep 21 2022 19:30:53 +0000 Subject: Do not run restorecon /etc/NetworkManager/dispatcher.d in mls and minimum --- diff --git a/selinux-policy.spec b/selinux-policy.spec index ebdc787..e7ee5f7 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -699,7 +699,7 @@ exit 0 %posttrans minimum %checkConfigConsistency minimum -%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d +%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm %postun minimum if [ $1 = 0 ]; then @@ -773,7 +773,7 @@ exit 0 %posttrans mls %checkConfigConsistency mls -%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm /etc/NetworkManager/dispatcher.d +%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm %postun mls if [ $1 = 0 ]; then