[1.4] ci: update policycoreutils for CentOS 10#5125
Merged
cyphar merged 1 commit intoopencontainers:release-1.4from Feb 26, 2026
Merged
[1.4] ci: update policycoreutils for CentOS 10#5125cyphar merged 1 commit intoopencontainers:release-1.4from
cyphar merged 1 commit intoopencontainers:release-1.4from
Conversation
When container-selinux 4:2.246.0-1.el10 is installed, it produces the following %post script warnings: > ... > Running scriptlet: container-selinux-4:2.246.0-1.el10.noarch 26/37 > Installing : container-selinux-4:2.246.0-1.el10.noarch 26/37 > Running scriptlet: container-selinux-4:2.246.0-1.el10.noarch 26/37 > libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 255. (No data available). > libsemanage.semanage_compile_module: container: libsepol.policydb_read: policydb module version 24 does not match my version range 4-23. > libsemanage.semanage_compile_module: container: libsepol.sepol_module_package_read: invalid module in module package (at section 0). > libsemanage.semanage_compile_module: container: libsepol.sepol_ppfile_to_module_package: Failed to read policy package. > libsemanage.semanage_direct_commit: Failed to compile hll files into cil files. (No data available). > semodule: Failed! > ... For some reason, dnf install still succeeds, but when the selinux tests fail with: > chcon: failed to change context of '/tmp/bats-run-3MMyYP/runc.szTqBc/bundle/runc' to ‘system_u:object_r:container_runtime_exec_t:s0’: Invalid argument All this is fixed once policycoreutils is added to the list of RPMS so it is updated (from 3.9-3.el10 to 3.10-1.el10) during the same transaction. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 3235c5a) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
AkihiroSuda
approved these changes
Feb 26, 2026
cyphar
approved these changes
Feb 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #5123 to release-1.4 branch.
When container-selinux 4:2.246.0-1.el10 is installed, it produces the following %post script warnings:
For some reason, dnf install still succeeds, but when the selinux tests fail with:
All this is fixed once policycoreutils is added to the list of RPMS so it is updated (from 3.9-3.el10 to 3.10-1.el10) during the same transaction.
(cherry picked from commit 3235c5a)