Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix selinux policy on RHEL 8 #409

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Conversation

dhurley
Copy link
Collaborator

@dhurley dhurley commented Jul 18, 2023

Proposed changes

Updates made to selinux policy to fix the following error:

# sudo semodule -n -i /usr/share/selinux/packages/nginx_agent.pp
libsemanage.semanage_pipe_data: Child process /usr/libexec/selinux/hll/pp failed with code: 255. (No such file or directory).
nginx_agent: libsepol.policydb_read: policydb module version 21 does not match my version range 4-19
nginx_agent: libsepol.sepol_module_package_read: invalid module in module package (at section 0)
nginx_agent: Failed to read policy package
libsemanage.semanage_direct_commit: Failed to compile hll files into cil files.
 (No such file or directory).

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@dhurley dhurley self-assigned this Jul 18, 2023
@github-actions github-actions bot added the bug Something isn't working label Jul 18, 2023
@dhurley dhurley merged commit 39f083f into release-2.26.2 Jul 18, 2023
@dhurley dhurley deleted the fix-selinux-policy-rhel8 branch July 18, 2023 14:42
dhurley added a commit that referenced this pull request Jul 21, 2023
@dhurley dhurley mentioned this pull request Jul 21, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants