freeipa/ipaplatform
Timo Aaltonen 358acdd85f Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
..
base Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
debian Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
fedora Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
fedora_container Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
ipaplatform.egg-info Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
redhat Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
rhel Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
rhel_container Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
suse Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
Makefile.am Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
Makefile.in Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
README.md Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
__init__.py Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
_importhook.py Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
constants.py Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
osinfo.py Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
override.py Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
override.py.in Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
paths.py Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
services.py Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
setup.cfg Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00
setup.py Imported Debian patch 4.8.10-2 2021-10-03 12:58:58 +02:00
tasks.py Imported Upstream version 4.8.10 2021-10-03 11:06:28 +02:00

README.md

IPA platform abstraction

The ipaplatform package provides an abstraction layer for supported Linux distributions and flavors. The package contains constants, paths to commands and config files, services, and tasks.

  • base abstract base platform
  • debian Debian- and Ubuntu-like
  • redhat abstract base for Red Hat platforms
  • fedora Fedora
  • fedora_container freeipa-container on Fedora
  • rhel RHEL and CentOS
  • rhel_container freeipa-container on RHEL and CentOS
  • suse OpenSUSE and SLES
[base]
  ├─ debian
  ├─[redhat]
  │   ├─ fedora
  │   │   └─ fedora_container
  │   └─ rhel
  │       └─ rhel_container
  └─ suse

(Note: Debian and SUSE use some definitions from Red Hat namespace.)

freeipa-container platform

The fedora_container and rhel_container platforms are flavors of the fedora and rhel platforms. These platform definitions are specifically designed for freeipa-container. The FreeIPA server container implements a read-only container. Paths like /etc, /usr, and /var are mounted read-only and cannot be modified. The image uses symlinks to store all variable data like config files and LDAP database in /data.

  • Some commands don't write through dangling symlinks. The IPA platforms for containers prefix some paths with /data.
  • ipa-server-upgrade verifies that the platform does not change between versions. To allow upgrades of old containers, sysupgrade maps $distro_container to $distro platform.
  • The container images come with authselect pre-configured with sssd with-sudo option. The tasks modify_nsswitch_pam_stack and migrate_auth_configuration are no-ops. ipa-restore does not restore authselect settings. ipa-backup still stores authselect settings in backup data.
  • The --mkhomedir option is not supported.