When running dnf install xroad-securityserver, during installation errors are logged, but install continues:
When installation completes, postgresql service is left in a failed state:
serverconf and messagelog databases are not configured, /etc/xroad.properties is empty and /etc/xroad/db.properties is not created and the x-road services can’t be started.
Environment
None
Root cause (migrated)
None
Implementation notes
None
Activity
Show:
Petteri Kivimäki December 16, 2024 at 10:13 AM
The postgresql service needs /var/run/postgresql folder to run. The previous version (v13.16) of postgresql-server package created the required folder when unpacking rpm, so it was available when xroad-proxy install scriptlets started to run, and they can start the postgresql service and perform the db creation, running liquibase.
But in postgresql-server v13.18 the /var/run/postgresql is not created during package installation. While yum install is running, postgresql service can't be started, it fails with the error that /var/run/postgresql is not found. The required /var/run/postgresql folder appears only when yum install completes. It gets created by the systemd-tmpfiles util.
Security Server installation on RHEL 9.3 fails.
When running
dnf install xroad-securityserver
, during installation errors are logged, but install continues:When installation completes, postgresql service is left in a failed state:
serverconf and messagelog databases are not configured,
/etc/xroad.properties
is empty and/etc/xroad/db.properties
is not created and the x-road services can’t be started.