Restore the SE context during the post install phase.
Resolves: #2232410
This commit is contained in:
parent
6e47aa3beb
commit
b13691fe54
@ -9,7 +9,7 @@ BuildRequires: scl-utils-build
|
|||||||
Summary: A GNU collection of binary utilities
|
Summary: A GNU collection of binary utilities
|
||||||
Name: %{?scl_prefix}binutils
|
Name: %{?scl_prefix}binutils
|
||||||
Version: 2.40
|
Version: 2.40
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/binutils
|
URL: https://sourceware.org/binutils
|
||||||
|
|
||||||
@ -349,7 +349,7 @@ Requires(post): %{alternatives_cmd}
|
|||||||
Requires(preun): %{alternatives_cmd}
|
Requires(preun): %{alternatives_cmd}
|
||||||
|
|
||||||
# We also need rm.
|
# We also need rm.
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils policycoreutils
|
||||||
|
|
||||||
%if %{with gold}
|
%if %{with gold}
|
||||||
# For now we make the binutils package require the gold sub-package.
|
# For now we make the binutils package require the gold sub-package.
|
||||||
@ -1125,6 +1125,9 @@ exit 0
|
|||||||
|
|
||||||
%ldconfig_post
|
%ldconfig_post
|
||||||
|
|
||||||
|
# BZ 2232410: We cannot be sure that the GTS runtime rpm has restored the SE context.
|
||||||
|
restorecon -R %{_scl_root}/usr/share/locale
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
@ -1276,6 +1279,9 @@ exit 0
|
|||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 11 2023 Nick Clifton <nickc@redhat.com> - 2.40-15
|
||||||
|
- Restore the SE context during the post install phase. (#2232410)
|
||||||
|
|
||||||
* Thu Aug 03 2023 Nick Clifton <nickc@redhat.com> - 2.40-14
|
* Thu Aug 03 2023 Nick Clifton <nickc@redhat.com> - 2.40-14
|
||||||
- Add expected linker test failure for s390x. (#2228870)
|
- Add expected linker test failure for s390x. (#2228870)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user