From dd954d1b893900cacdbadda101bf7f996201d00a Mon Sep 17 00:00:00 2001 From: wjiang Date: Mon, 9 Dec 2024 10:32:02 +0800 Subject: [PATCH] Recovering the SELinux Label --- selinux-policy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 4ce2b9e..227687a 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -12,7 +12,7 @@ Summary: SELinux policy configuration Name: selinux-policy Version: 40.7 -Release: 4 +Release: 5 License: GPLv2+ URL: https://github.com/fedora-selinux/selinux-policy/ @@ -202,7 +202,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; @@ -744,6 +744,9 @@ exit 0 %endif %changelog +* Mon Dec 09 2024 wangjiang - 40.7-5 +- Recovering the SELinux Label + * Tue Nov 05 2024 Linux_zhang - 40.7-4 - Add support for secretmem anon inode -- Gitee