Project

General

Profile

Actions

Bug #16475

closed

Postinst scripts do not set the postgres password

Bug #16475: Postinst scripts do not set the postgres password

Added by Félix DALLIDET almost 6 years ago. Updated almost 6 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

Updated by Félix DALLIDET almost 6 years ago Actions #1

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET

Updated by Félix DALLIDET almost 6 years ago Actions #2

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1571

Updated by Félix DALLIDET almost 6 years ago Actions #3

  • Status changed from Pending technical review to Pending release

Updated by François ARMAND almost 6 years ago Actions #4

  • Fix check changed from To do to Checked

Updated by Alexis Mousset almost 6 years ago Actions #5

  • Subject changed from Install fails to force postgres password to Postinst scripts do not set the postgres password
  • Name check changed from To do to Reviewed

Updated by Vincent MEMBRÉ almost 6 years ago Actions #6

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.2 which was released today.

Updated by Nicolas CHARLES about 5 years ago Actions #7

  • Related to Bug #18279: Incorrect configuration when the database is not hosted on the rudder server itself added
Actions

Also available in: PDF Atom