From 0cebad3d06c7b327ec14d7fe4121b917b288046b Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 16 Jun 2022 11:22:43 +1000 Subject: [PATCH] Revert "CentOS 9-stream : work around selinux permissions issue" This reverts commit 975522472af1e01c081db27ddbb7193bc443a95a. Thankfully the fix is released upstream now. This spawned a thread for disucssion at https://lists.centos.org/pipermail/centos-devel/2022-June/120414.html Change-Id: I5b53e2b7e751ceaf74da8914875203d631a6137c --- .../redhat-common/post-install.d/05-selinux-9-stream | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream diff --git a/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream b/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream deleted file mode 100755 index bc4853a7..00000000 --- a/diskimage_builder/elements/redhat-common/post-install.d/05-selinux-9-stream +++ /dev/null @@ -1,12 +0,0 @@ -# NOTE(ianw) 2022-06-09 : this is a workaround for setfiles -# failing until libselinux-3.4-2.el9.x86_64.rpm -# https://bugzilla.redhat.com/show_bug.cgi?id=2094683 -if [[ ${DIB_RELEASE} =~ '9-stream' ]]; then - sudo dnf update -y \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-3.4-2.el9.x86_64.rpm \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-utils-3.4-2.el9.x86_64.rpm \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/python3-libselinux-3.4-2.el9.x86_64.rpm \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-static-3.4-2.el9.x86_64.rpm \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-ruby-3.4-2.el9.x86_64.rpm \ - https://kojihub.stream.centos.org/kojifiles/packages/libselinux/3.4/2.el9/x86_64/libselinux-devel-3.4-2.el9.x86_64.rpm -fi