-
Notifications
You must be signed in to change notification settings - Fork 663
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose python libselinux bindings to tox envs
PR #1823 by @ssbarnea * Ensure python libselinux python bindings are installed Avoid awkward error during templating of Dockerfile which happens on SELinux enabled machines when Ansible template module fails due to missing SELinux bindings. By using sitepackages=true in tox.ini we inherit the libselinux bindings from the system when tox creates virtualenvs if they are installed system-wide. Work around ansible/ansible#34340 which happens even if SELinux is set to permissive. Document SELinux issues in the install documentation in order to inform users about what they could encounter. Fixes: #1724 Signed-off-by: Sorin Sbarnea <[email protected]>
- Loading branch information
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
libselinux-python [platform:redhat] | ||
python3-libselinux [platform:fedora] |
This file contains 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
This file contains 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