Compare commits
1 Commits
79cd209949
...
860c67d1e5
Author | SHA256 | Date | |
---|---|---|---|
860c67d1e5 |
@@ -117,9 +117,13 @@ if [ -z "${_policytype}" ]; then \
|
||||
_policytype="targeted" \
|
||||
fi \
|
||||
if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then \
|
||||
if [ -f %{_file_context_file_pre} ] && [ -z "${TRANSACTIONAL_UPDATE}" ]; then \
|
||||
%{_sbindir}/fixfiles -C %{_file_context_file_pre} restore &> /dev/null \
|
||||
rm -f %{_file_context_file_pre} \
|
||||
if [ -f %{_file_context_file_pre} ]; then \
|
||||
if [ -z "${TRANSACTIONAL_UPDATE}" ]; then \
|
||||
%{_sbindir}/fixfiles -C %{_file_context_file_pre} restore &> /dev/null \
|
||||
rm -f %{_file_context_file_pre} \
|
||||
else \
|
||||
touch /etc/selinux/.autorelabel \
|
||||
fi \
|
||||
fi \
|
||||
fi \
|
||||
%{nil}
|
||||
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 29 10:18:47 UTC 2024 - Johannes Segitz <jsegitz@suse.com>
|
||||
|
||||
- Update macros.selinux-policy to trigger a full relabel on transactional
|
||||
systems upon module installation. This is rather expensive and will
|
||||
hopefully be replaced by a more fine grained solution later on (bsc#1232753)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 05 16:21:25 UTC 2024 - cathy.hu@suse.com
|
||||
|
||||
|
Reference in New Issue
Block a user