From f0c6f2ff35ead33471b60bfcb93dbabfc9a22cb2 Mon Sep 17 00:00:00 2001 From: Linux_zhang Date: Wed, 27 Nov 2024 19:27:56 +0800 Subject: [PATCH] Recovering the SELinux Label (cherry picked from commit 83350518b1fbeddaf157d4e20dac0cbf0a1ff08c) --- selinux-policy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 20ff389..4bbbf74 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 40.7 -Release: 3 +Release: 4 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -201,7 +201,7 @@ if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = %1 -a -f ${FILE_CONTEXT}.p %{_sbindir}/fixfiles -C ${FILE_CONTEXT}.pre restore &> /dev/null > /dev/null; \ rm -f ${FILE_CONTEXT}.pre; \ fi; \ -%{_sbindir}/restorecon -R /var/lib/rpm \ +%{_sbindir}/restorecon -R /var/lib/rpm /usr/bin /usr/lib /usr/lib64 /usr/sbin \ if %{_sbindir}/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \ continue; \ fi; @@ -743,6 +743,9 @@ exit 0 %endif %changelog +* Wed Nov 27 2024 Linux_zhang - 40.7-4 +- Recovering the SELinux Label + * Tue Nov 05 2024 Linux_zhang - 40.7-3 - Add support for secretmem anon inode -- Gitee