Bug 1043477 - trust postgres's local connections during upgrade process
Summary: trust postgres's local connections during upgrade process
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: postgresql
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Raiskup
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On: 1040364
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 12:23 UTC by Pavel Raiskup
Modified: 2014-06-18 05:08 UTC (History)
9 users (show)

Fixed In Version: postgresql-9.2.6-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1040364
Environment:
Last Closed: 2014-05-27 13:26:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Pavel Raiskup 2013-12-16 12:23:36 UTC
+++ This bug was initially created as a clone of Bug #1040364 +++

Description of problem:
The update may fail if pg_hba.conf contains specific settings. It seems reasonable to assume that the user has changed the default settings.


Version-Release number of selected component (if applicable):
The postgresql-setup is fedora/rhel specific script. It is included in all currently supported versions of fedora (rawhide-f18).

How reproducible:

Steps to Reproduce:
$ echo "host    all         all         0.0.0.0          0.0.0.0      md5
host    all         all         ::1/128                       md5
local   all         all                                       md5">/var/lib/pgsql/data/pg_hba.conf
$ postgresql-setup upgrade

Actual results:
upgrade failed


Expected results:
Sucessfull upgrade. Additionally, the user should be warned about configuration changes.

Additional info:
See attached patch.


Note You need to log in before you can comment on or make changes to this bug.