Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-22818

Installing gcc-toolset-13-binutils in RHEL-9.4.0 results in files with incorrect selinux context

    • gcc-toolset-13-binutils-2.40-19.el9
    • None
    • None
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 23
    • 25
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • Unspecified Release Note Type - Unknown
    • None

      When installing gcc-toolset-13-binutils, some files under collection root have unexpected selinux context. This seems to be a regression compared to the state after https://issues.redhat.com/browse/RHELPLAN-166055.

      :: [ 07:31:18 ] :: [  BEGIN   ] :: Running 'restorecon -Rvn /opt/rh/gcc-toolset-13/root'
      Would relabel /opt/rh/gcc-toolset-13/root/etc/gdbinit.d from system_u:object_r:usr_t:s0 to system_u:object_r:etc_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/etc/gdbinit from system_u:object_r:usr_t:s0 to system_u:object_r:etc_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/etc/gprofng.rc from system_u:object_r:usr_t:s0 to system_u:object_r:etc_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/bfd-plugins from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libbfd.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libctf-nobfd.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libctf.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libiberty.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libopcodes.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/libsframe.a from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      Would relabel /opt/rh/gcc-toolset-13/root/usr/lib64/gprofng from system_u:object_r:usr_t:s0 to system_u:object_r:lib_t:s0
      

      Please provide the package NVR for which bug is seen:

      gcc-toolset-13-binutils-2.40-17.el8

      Steps to reproduce

      1. dnf remove gcc-toolset-13-runtime
      2. dnf install gcc-toolset-13-binutils
      3. restorecon -Rvn /opt/rh/gcc-toolset-13/root/

              nickc@redhat.com Nick Clifton
              mprchlik@redhat.com Milos Prchlik
              Nick Clifton Nick Clifton
              Milos Prchlik Milos Prchlik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: