dvzrv / selinux

Pure-python selinux shim module for use in virtualenvs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Black Code Style

selinux

Pure-python selinux shim module for use in virtualenvs in order to avoid failure to load selinux in Ansible modules.

You still need to have libselinux python bindings package installed on your system for it to work but you no longer have the problem of not being able to import it from inside isolated (default) virtualenvs.

This package was also tested as installed outside virtualenvs and seems not to interfere with the original library.

So far testing is done on:

  • CentOS 7
  • CentOS 8
  • Debian (latest)
  • Fedora 28
  • RHEL 8
  • Ubuntu (latest)

The change-list can be accessed at releases.

About

Pure-python selinux shim module for use in virtualenvs

License:MIT License


Languages

Language:Python 77.3%Language:Jinja 14.7%Language:Shell 8.0%