fix selinux policy on gentoo

This commit is contained in:
Fredrik Eriksson 2020-05-06 18:35:36 +02:00
parent 5d5947c99e
commit 9eebd56869
Signed by: feffe
GPG Key ID: 18524638BE25530A
3 changed files with 9 additions and 4 deletions

View File

@ -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)

View File

@ -1,4 +1,4 @@
policy_module(sau, 0.2)
policy_module(sau, 0.9.1)
gen_require(`
type system_cronjob_t;

View File

@ -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',