Project

General

Profile

Actions

Bug #16475

closed

Postinst scripts do not set the postgres password

Added by Félix DALLIDET about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

In 6.0 on rpm based distros, we are enforcing the postgres/ldap/etc... passwords from an agent execution done in the webapp postinst script.
This run trigger the password edit, only if the node is the "Server root" and base its detection on the existence of the "/opt/rudder/etc/server-roles.d/rudder-server-root" file which
come from the "rudder-server-root" package, which is STILL NOT installed at this time.

The password edit is then skipped...

We should change the detection to be based on file existence OR uuid=root


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #18279: Incorrect configuration when the database is not hosted on the rudder server itselfReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF