From ed293503c6c8590778b895ae69482d8fe80e9149 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Mon, 16 Sep 2024 12:36:35 +0200 Subject: [PATCH] Run restorecon on /etc/mdevctl.d temporarily Resolves: rhbz#2311359 Related: RHEL-54303 --- selinux-policy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index f514db3c..39a0d6c2 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -572,7 +572,7 @@ exit 0 %checkConfigConsistency targeted %{_libexecdir}/selinux/varrun-convert.sh targeted %postInstall $1 targeted -%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm +%{_sbindir}/restorecon -Ri /usr/lib/sysimage/rpm /var/lib/rpm /etc/mdevctl.d %postun targeted if [ $1 = 0 ]; then