Project

Profile

Help

Issue #7276

pulp_installer fails to set selinux booleans due to missing dependencies

Added by mdepaulo@redhat.com about 2 months ago. Updated about 2 months ago.

Status:
MODIFIED
Priority:
Normal
Category:
Installer
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Observed on a CentOS 8 Stream vagrant box:

TASK [pulp_webserver : Set httpd_can_network_connect flag on and keep it persistent across reboots] **************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'semanage'
fatal: [centos8-stream.mdepaulo.example.com]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (libsemanage-python) on centos8-stream.mdepaulo.example.com's Python /usr/libexec/platform-python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

Our CI is not picking this up because there is no SELinux on containers on Ubuntu.

Associated revisions

Revision d44a82f9 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp_installer fails to set selinux booleans

due to missing dependencies

Solution: Install those dependencies. They differ based on OS release.

fixes: #7276 https://pulp.plan.io/issues/7276

Revision d44a82f9 View on GitHub
Added by Mike DePaulo about 2 months ago

Problem: pulp_installer fails to set selinux booleans

due to missing dependencies

Solution: Install those dependencies. They differ based on OS release.

fixes: #7276 https://pulp.plan.io/issues/7276

History

#1 Updated by Anonymous about 2 months ago

  • Status changed from NEW to MODIFIED

Please register to edit this issue

Also available in: Atom PDF