From 0f27d97ff5194d3503caaf537e18e27099b7a3ef Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Wed, 21 Sep 2022 17:59:49 +0200 Subject: [PATCH] Do not run restorecon /etc/NetworkManager/dispatcher.d in mls and minimum --- selinux-policy.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index ebdc7875..e7ee5f70 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