freeipa/ipaplatform/fedora_container
Fraser Tweedale 4bdecd55e3 allow overriding systemd-tmpfiles program
In some contexts, filesystem mounts may be owned by unmapped users
(e.g. `emptyDir` mounts in Kubernetes / OpenShift when using user
namespaces).  This causes `systemd-tmpfiles(8)` to fail, as a
consequence of systemd's path processing routines which reject this
scenario.  Therefore, in Fedora container context, if the
`IPA_TMPFILES_PROG` environment value is set, use the program
specified by its value instead of `/bin/systemd-tmpfiles`.

Signed-off-by: Fraser Tweedale <ftweedal@redhat.com>
Fixes: https://pagure.io/freeipa/issue/9126
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2022-03-14 13:06:17 -04:00
..
__init__.py Don't configure authselect in containers 2020-08-06 14:20:54 +02:00
constants.py Add missing fedora_container platform members 2020-09-29 12:06:24 +02:00
paths.py allow overriding systemd-tmpfiles program 2022-03-14 13:06:17 -04:00
services.py Add ipaplatform for Fedora and RHEL container 2020-07-30 11:38:25 +02:00
tasks.py Don't configure authselect in containers 2020-08-06 14:20:54 +02:00