What is installed on each OS

The installer does not branch by distribution name — it determines the family and takes a row from the table. Adding another distribution to a known family requires no code changes.

Docker

Family How it is installed

deb

Official Docker repository: key in /etc/apt/keyrings/docker.asc, line in /etc/apt/sources.list.d/docker.list, packages docker-ce docker-ce-cli containerd.io. For Linux Mint the parent distribution repository is used — it has none of its own.

astra

The docker.io package from the distribution repository.

alt

The docker-engine package; the service is enabled explicitly.

rhel

The /etc/yum.repos.d/docker-ce.repo file is fetched with curl, then docker-ce docker-ce-cli containerd.io. On CentOS 7 container-selinux from extras is additionally installed — without it installation stops on dependencies. For RedOS the third-party repository is not connected: docker-ce is in its own.

The docker service in the rhel and alt families is not running after package installation — the installer enables it explicitly.

PostgreSQL

Family How it is installed

deb

PGDG repository: key in /usr/share/postgresql-common/pgdg/, line in /etc/apt/sources.list.d/pgdg.list, package postgresql-<version>.

astra

Astra extended repository. The default version depends on the code name: 17 for 1.7, 15 for 1.8.

alt

The postgresql<version>-server package from the distribution repository.

rhel

PGDG repository: pgdg-redhat-repo-latest.noarch.rpm for the required EL version. On EL8 and newer the stock postgresql module is disabled — otherwise it would override PGDG packages. For RedOS the third-party repository is not connected.

Paths differ between families:

deb, astra rhel, alt

pg_ctl, psql, initdb

/usr/lib/postgresql/<version>/bin/

/usr/pgsql-<version>/bin/

Cluster directory

/var/lib/postgresql/<version>/<instance>

/var/lib/pgsql/<version>/<instance>

Log file

/var/log/postgresql/

Inside the cluster directory

The locale for initdb is not hard-coded: the first one the system actually knows is taken from C.UTF-8, en_US.UTF-8, C. CentOS 7 glibc has no C.UTF-8 locale, and a hard-coded value would cause cluster creation failure.

NFS

Family Package Service Server role

deb, astra

nfs-kernel-server

nfs-kernel-server

Supported

rhel

nfs-utils

nfs-server

Supported

alt, RedOS

nfs-utils

nfs-server

Not supported

The owner group of exported directories differs: in deb it is nogroup, in rhel — nobody. A group with a foreign name simply does not exist in the system, and chown with it would fail.

The service is enabled before exportfs -a: in rhel it is not running after package installation, and there is nowhere to export without a running server.

SELinux

Relevant for the rhel family, where enforcing mode is enabled by default. It affects three places.

Container volumes

A bind-mount without a label is inaccessible to the process inside the container. The :z suffix is added to each volume — the final form is :rslave,z.

PostgreSQL cluster directory

The cluster is not where the policy expects it. semanage fcontext -a -t postgresql_db_t and restorecon -R are executed.

PostgreSQL port

A non-standard port must be allowed: semanage port -a -t postgresql_port_t -p tcp <port>.

Additionally, with the NFS server role, nfs_export_all_rw is enabled: without it directories are served but the client gets a refusal on the very first write.

Behavior is controlled by --selinux:

Value What it does

auto

Configure if getenforce returns Enforcing. Default.

configure

Configure also in permissive mode — for machines where enforcing will be enabled after reboot.

skip

Do not touch the policy.

Even configure does not act where SELinux is disabled entirely: the :z label then will not be set, and docker will refuse to start the container.

semanage comes in a separate package absent from a minimal installation. With --useapt=y the installer delivers it itself: policycoreutils-python on EL7, policycoreutils-python-utils starting from EL8.

firewalld

On CentOS it is active by default and will close platform ports. The installer does not change rules silently: the port list goes into the plan on the confirmation screen.

Only ports the installer knows for sure are opened:

  • the PostgreSQL port — except with --pgindockerport, when it is not published externally;

  • platform ports set by --erawshttpport, --erawshttpsport, --eraerlepmdport, --eradistports, --eranodesports;

  • the nfs, mountd, rpc-bind services with the NFS server role.

Behavior is controlled by --firewall:

Value What it does

auto

Open if firewalld is active. Default.

open

Always open.

skip

Do not change rules but list closed ports in the report.

Ports that the platform opens itself are unknown to the installer. In the host network the container publishes them itself, and they cannot be derived from the answers. If the web interface is inaccessible externally, open them manually.

CentOS 7 specifics

CentOS 7 is out of support, and this is noticeable during installation.

  • Base repositories moved from mirrors to vault.centos.org. Until the lines are corrected, any yum install will fail. The installer does not correct them — that is the engineer’s decision — but warns about this in prechecks.

  • The package manager is yum, not dnf. The branch is selected automatically.

  • There are no package modules, so dnf module disable postgresql is not executed.

  • bash 4.2.46 — exactly the minimum required version.

  • The C.UTF-8 locale does not exist; the interface switches to English.