Created attachment 835206 [details] proposed patch 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.
Fedora commit, thanks Jozef! https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20131216/1159834.html It seems to be useful for f20 also ~> backpatched.
postgresql-9.3.2-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/postgresql-9.3.2-2.fc20
Package postgresql-9.3.2-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing postgresql-9.3.2-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23489/postgresql-9.3.2-2.fc20 then log in and leave karma (feedback).
postgresql-9.3.2-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.