Run restorecon on /etc/mdevctl.d temporarily

Resolves: rhbz#2311359

Related: RHEL-54303
This commit is contained in:
Zdenek Pytela 2024-09-16 12:36:35 +02:00 committed by Petr Lautrbach
parent ddc0446829
commit ed293503c6

View File

@ -572,7 +572,7 @@ exit 0
%checkConfigConsistency targeted %checkConfigConsistency targeted
%{_libexecdir}/selinux/varrun-convert.sh targeted %{_libexecdir}/selinux/varrun-convert.sh targeted
%postInstall $1 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 %postun targeted
if [ $1 = 0 ]; then if [ $1 = 0 ]; then