Project

General

Profile

Actions

Bug #16475

closed

Postinst scripts do not set the postgres password

Added by Félix DALLIDET over 4 years ago. Updated over 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 #1

Updated by Félix DALLIDET over 4 years ago

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

Updated by Félix DALLIDET over 4 years ago

  • 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
Actions #3

Updated by Félix DALLIDET over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by François ARMAND over 4 years ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Alexis Mousset over 4 years ago

  • 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
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

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

Actions #7

Updated by Nicolas CHARLES over 3 years ago

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

Also available in: Atom PDF