freeipa/ipaplatform/redhat
David Kupka a726e98f03 Create system users for FreeIPA services during package installation
Previously system users needed by FreeIPA server services was created during
ipa-server-install. This led to problem when DBus policy was configured during
package installation but the user specified in the policy didn't exist yet
(and potentionally similar ones). Now the users will be created in package %pre
section so all users freeipa-server package needs exist before any installation
or configuration begins.
Another possibility would be using systemd-sysusers(8) for this purpose but
given that systemd is not available during container build the traditional
approach is superior.
Also dirsrv and pkiuser users are no longer created by FreeIPA instead it
depends on 389ds and dogtag to create those users.

https://pagure.io/freeipa/issue/6743

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
2017-04-11 17:51:49 +02:00
..
__init__.py Split off generic Red Hat-like platform code from Fedora platform code 2014-10-09 15:37:24 +02:00
authconfig.py Fix for handling CalledProcessError in authconfig 2017-01-18 08:51:38 +01:00
constants.py ipaplatform: Add constants submodule 2015-07-21 17:29:33 +02:00
paths.py named.conf template: update API for bind 9.11 2017-02-09 16:34:53 +01:00
services.py pylint_plugins: add forbidden import checker 2017-03-10 13:04:59 +01:00
tasks.py Create system users for FreeIPA services during package installation 2017-04-11 17:51:49 +02:00