commit | cf8eed54319de1159095aaabbe030de4a59f9262 | [log] [tgz] |
---|---|---|
author | Vit Mojzis <vmojzis@redhat.com> | Mon Jul 09 20:29:40 2018 +0200 |
committer | Nicolas Iooss <nicolas.iooss@m4x.org> | Sat Jul 14 17:59:56 2018 +0200 |
tree | bf23885d7dfc7d722ba5713aa6ab3e79f1758e4c | |
parent | d0ca433e2178b5b4bc3a25fd75813d3a2d4f9969 [diff] |
python/semanage: Fix logger class definition Test if audit module is enabled so that logger class is defined correctly. Fixes: "semanage fcontext -l" fails with "OSError: Protocol not supported" when booting with audit=0 Signed-off-by: Vit Mojzis <vmojzis@redhat.com>