#9126 allow overriding systemd-tmpfiles program
Closed: fixed by frenaud. Opened by ftweedal.

Request for enhancement

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. systemd-tmpfiles "clones" exist and and can be used instead of
systemd-tmpfiles. But beacuse the FreeIPA installer invokes /bin/systemd-tmpfiles
directly, it is necessary to provide a mechanism (e.g. via environment variable) to
specify that a different program should be used.

The feature can be restricted to the Fedora and RHEL container platform modules.

Additional info:

See freeipa-openshift-container PR that implements a systemd-tmpfiles clone:
https://github.com/freeipa/freeipa-openshift-container/pull/35


Metadata Update from @ftweedal:
- Issue assigned to ftweedal

master:

  • 4bdecd55e32249be817edd142d4939d9de61ae9c allow overriding systemd-tmpfiles program

ipa-4-9:

  • b413a327f33c5d97a1f830fe7a9a8aef39c847c1 allow overriding systemd-tmpfiles program

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata