platform_external_selinux/python/audit2allow
Nicolas Iooss 72dc5c6241
python: always use python3 in the shebang of programs using setools
setools 4.2.0 dropped support for Python 2. On systems where
/usr/bin/python is Python 2, several tools are now broken because of
this. Update the shebang of these tools to /usr/bin/python3.

For future reference, as semanage/seobject.py, sepolicy and sepolgen
import setools, every program that uses one of these modules need to be
run with Python 3. The following programs do not use any of these
modules so their shebangs have not been modified:

    dbus/selinux_server.py
    libsemanage/utils/semanage_migrate_store
    mcstrans/share/util/mlscolor-test
    mcstrans/share/util/mlstrans-test
    sandbox/start

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2019-02-17 22:34:50 +01:00
..
ru Add man pages translation by Olesya Gerasimenko 2019-01-28 12:03:57 +01:00
.gitignore python/audit2allow: make the tests useful again 2019-01-08 10:15:46 +01:00
audit2allow python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
audit2allow.1 python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
audit2why Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
audit2why.1 Move policycoreutils/{sepolicy,audit2allow,semanage,scripts/chcat*} and sepolgen to python. 2016-11-16 11:19:50 -05:00
Makefile Allow installing translated man pages 2019-01-28 12:03:57 +01:00
sepolgen-ifgen python: always use python3 in the shebang of programs using setools 2019-02-17 22:34:50 +01:00
sepolgen-ifgen-attr-helper.c Move policycoreutils/sepolgen-ifgen into python/audit2allow. 2016-11-16 11:19:51 -05:00
test.log python: add xperms support to audit2allow 2018-06-16 10:36:14 +02:00
test_audit2allow.py python/audit2allow: use local sepolgen-ifgen-attr-helper for tests 2019-01-08 10:15:46 +01:00
test_dummy_policy.cil python/audit2allow: make the tests useful again 2019-01-08 10:15:46 +01:00