freeipa/ipaplatform/base
Petr Viktorin e3ba75d379 Move setting SELinux booleans to platform code
Create a platform task for setting SELinux booleans.

Use an exception for the case when the booleans could not be set
(since this is an error if not handled).
Since ipaplatform should not depend on ipalib, create a new
errors module in ipapython for SetseboolError.

Handle uninstallation with the same task, which means
the booleans are now restored with a single call to
setsebool.

Preparation for: https://fedorahosted.org/freeipa/ticket/4157

Fixes: https://fedorahosted.org/freeipa/ticket/2934
Fixes: https://fedorahosted.org/freeipa/ticket/2519
Reviewed-By: Thierry Bordaz <tbordaz@redhat.com>
2014-09-26 12:12:59 +02:00
..
__init__.py ipaplatform: Create separate module for platform files 2014-06-16 19:48:17 +02:00
paths.py Enable NSS PKIX certificate path discovery and validation for Dogtag. 2014-07-30 16:04:21 +02:00
services.py ipaplatform: Move hardcoded paths from Fedora platform files to path namespace 2014-06-16 19:48:21 +02:00
tasks.py Move setting SELinux booleans to platform code 2014-09-26 12:12:59 +02:00