diff --git a/selinux/sau.fc b/selinux/sau.fc index 1fcfd96..027293a 100644 --- a/selinux/sau.fc +++ b/selinux/sau.fc @@ -1,2 +1,7 @@ -/usr/bin/sau gen_context(system_u:object_r:sau_exec_t,s0) -/etc/sau.cfg gen_context(system_u:object_r:sau_config_t,s0) +/usr/bin/sau -- gen_context(system_u:object_r:sau_exec_t,s0) + +# on gentoo python executables are executed via python-exec +/usr/lib/python-exec/python[0-9\.]*/sau -- gen_context(system_u:object_r:sau_exec_t,s0) + + +/etc/sau.cfg -- gen_context(system_u:object_r:sau_config_t,s0) diff --git a/selinux/sau.te b/selinux/sau.te index 2959701..0b8f1c3 100644 --- a/selinux/sau.te +++ b/selinux/sau.te @@ -1,4 +1,4 @@ -policy_module(sau, 0.2) +policy_module(sau, 0.9.1) gen_require(` type system_cronjob_t; diff --git a/setup.py b/setup.py index d661095..60f8680 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages setup( name='sau', - version='0.9.0', + version='0.9.1', description='Tool for auto-updating OS and packages', author='Feffe', author_email='feffe@fulh.ax',