Red Hat Bugzilla – Bug 998862
db-control reset-password doesn't work on EmbPostgreSQL
Last modified: 2016-07-03 20:58:00 EDT
Description of problem:
When I run 'db-control reset-password' on EmbPostgreSQL, it doesn't change password and ends with error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make your database running.
2. Have some password in /etc/rhn/rhn.conf - db_password
3. run 'db-control reset-password'
RHN::DB connect('dbname=rhnschema','',...) failed: FATAL: no pg_hba.conf entry for host "[local]", user "root", database "rhnschema", SSL off at /usr/share/perl5/vendor_perl/Dobby/DB.pm line 503
Can't call method "do" on an undefined value at /usr/share/perl5/vendor_perl/Dobby/DB.pm line 507.
Changes password and exits without error.
fixed in spacewalk master:
Satellite 5.6 has been released. This bug was tracked under the release.
This bug was either VERIFIED or RELEASE_PENDING (re-verified prior shortly
Moving to CLOSED CURRENT_RELEASE.
Text from Upgrade Erratum follows:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.