python-sepolgen - Python module used in SELinux policy generation

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-sepolgen
Package version 1.2.2
Package release 3
Package architecture all
Package type deb
Installed size 330 B
Download size 60.90 KB
Official Mirror
This package contains a Python module that forms the core of the modern
audit2allow (which is a part of the package policycoreutils).
The sepolgen library is structured to give flexibility to the application
using it. The library contains: Reference Policy Representation,
which are Objects for representing policies and the reference policy
interfaces. Secondly, it has objects and algorithms for representing
access and sets of access in an abstract way and searching that
access. It also has a parser for reference policy "headers". It
contains infrastructure for parsing SELinux related messages as
produced by the audit system. It has facilities for generating policy
based on required access.


Package Version Architecture Repository
python-sepolgen_1.2.2-3_all.deb 1.2.2 all Ubuntu Universe
python-sepolgen - - -


Name Value
checkpolicy >= 2.4
make -
python << 2.8
python >= 2.7
python-selinux >= 2.4
python-setools >= 3.3.7-2


Type URL
Binary Package python-sepolgen_1.2.2-3_all.deb
Source Package sepolgen

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-sepolgen deb package:
    # sudo apt-get install python-sepolgen




2015-11-18 - Laurent Bigonville <>
sepolgen (1.2.2-3) unstable; urgency=medium
* Team upload.
* Upload to unstable
2015-09-18 - Laurent Bigonville <>
sepolgen (1.2.2-2) experimental; urgency=medium
* Team upload.
* debian/control:
- Add a dependency against checkpolicy package, we have direct call to
semodule_package executable
- Add a dependency against the make package, make is used to automatically
create modules using audit2allow
- Add a Recommends against selinux-policy-dev, the Makefile from that
package might be used to generate modules when using audit2allow
2015-06-04 - Laurent Bigonville <>
sepolgen (1.2.2-1) experimental; urgency=medium
* Team upload.
* New upstream release
* debian/watch: Update the watchfile URL
* debian/control: Bump Standards-Version to 3.9.6 (no further changes)
* debian/control: Bump {build-}dependency against python-selinux to match
the release
2013-11-01 - Laurent Bigonville <>
sepolgen (1.2.1-1) unstable; urgency=low
* Team upload.
* New upstream release
* debian/control:
- Bump Standards-Version to 3.9.4 (no further changes)
- Use canonical URL for VCS-Git field
* Drop d/p/0001-sepolgen-Properly-set-the-user-local-before-calculat.patch:
Proper fix has been applied in policycoreutils 2.2
2013-05-09 - Laurent Bigonville <>
sepolgen (1.1.9-2) unstable; urgency=low
* Team upload.
* d/p/0001-sepolgen-Properly-set-the-user-local-before-calculat.patch:
Properly set the locale when calculating the bootdate (Closes: #677829)
2013-05-09 - Laurent Bigonville <>
sepolgen (1.1.9-1) unstable; urgency=low
* Team upload.
* New upstream release
* debian/control: Add Homepage field
2012-09-26 - Laurent Bigonville <>
sepolgen (1.1.8-1) experimental; urgency=low
* Team upload.
* New upstream release
- Drop d/p/0001-fix-detection-of-policy-loads.patch, applied upstream
* debian/gbp.conf: Change default git-buildpackage build-directory and the
debian-branch to "debian" instead of "upstream"
* debian/watch: Fix watch file URL
2012-03-20 - Laurent Bigonville <>
sepolgen (1.1.5-3) unstable; urgency=low
* Team upload.
* Bump python-setools dependency to >= 3.3.7-2
2012-03-14 - Laurent Bigonville <>
sepolgen (1.1.5-2) unstable; urgency=low
* Team upload.
* Move to dh sequence and dh_python2
* debian/control:
- Bump Standards-Version to 3.9.3 (no further change)
- Restructure long description and remove leading article of short
description to please lintian
- Drop C/P/R for sepolgen binary package, it's gone for a long time
- Add python-selinux and python-setools as build-dependency
- Add python-selinux and python-setools as dependency (Closes: #662600)
- Update Vcs-* fields
- Put the package under Debian SELinux team maintenance
* Switch to dpkg-source 3.0 (quilt) format
* Add debian/gbp.conf file
2012-02-28 - Russell Coker <>
sepolgen (1.1.5-1) unstable; urgency=low
* New upstream version, adds support for filename trans and some small

See Also

Package Description
python-sepolicy_2.3-1_amd64.deb Python binding for SELinux Policy Analyses
python-seqdiag_0.9.3-5_all.deb seqdiag generate sequence-diagram image file from spec-text file
python-sesame_0.24-4_all.deb Python wrapper for Sesame's REST HTTP API
python-setools_3.3.8+20151215-2_amd64.deb SETools Python bindings
python-setoptconf_0.2.0-1_all.deb retrieve Python program settings from a variety of sources
python-setproctitle_1.1.8-1build2_amd64.deb A setproctitle implementation for Python (Python 2)
python-setupdocs_1.0.5-3build1_all.deb setuptools plugin that automates building of docs from reST source
python-setuptools-git_1.1-1_all.deb plugin for setuptools that enables git integration
python-setuptools-scm_1.10.1-2ubuntu1_all.deb blessed package to manage your versions by scm tags for Python 2
python-sfepy-doc_2015.1-2build1_all.deb Simple Finite Elements in Python. Docs
python-sfepy_2015.1-2build1_amd64.deb Simple Finite Elements in Python
python-sfml-doc_2.2~git20150611.196c88+dfsg-2build1_all.deb Simple and Fast Multimedia Library - Documentation
python-sfml_2.2~git20150611.196c88+dfsg-2build1_amd64.deb Simple and Fast Multimedia Library - Python 2 Bindings
python-sh_1.11-1_all.deb Python subprocess interface
python-shade_1.5.1-0ubuntu1_all.deb Client library for operating OpenStack clouds