Bug 1009365 - incorrect PGDATA path in /opt/rh/postgresql92/root/var/lib/pgsql/.bash_profile
Summary: incorrect PGDATA path in /opt/rh/postgresql92/root/var/lib/pgsql/.bash_profile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: postgresql
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 1.1
Assignee: Pavel Raiskup
QA Contact: Jakub Prokes
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-18 09:46 UTC by Jan Hutař
Modified: 2015-11-03 19:01 UTC (History)
3 users (show)

Fixed In Version: postgresql92-postgresql-9.2.5-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-04 06:44:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0616 0 normal SHIPPED_LIVE postgresql92 bug fix update 2014-06-04 10:42:52 UTC

Description Jan Hutař 2013-09-18 09:46:32 UTC
Description of problem:
I have installed postgresql92-postgresql-server and noticed PGDATA in /opt/rh/postgresql92/root/var/lib/pgsql/.bash_profile points to /var/lib/pgsql/data, but I would expect it to point to /opt/rh/postgresql92/root/var/lib/pgsql/data/.


Version-Release number of selected component (if applicable):
postgresql92-postgresql-server-9.2.4-7.el6.x86_64


How reproducible:
always


Steps to Reproduce:
1. Install postgresql92-postgresql-server-9.2.4-7.el6.x86_64
2. # cat /opt/rh/postgresql92/root/var/lib/pgsql/.bash_profile


Actual results:
[ -f /etc/profile ] && source /etc/profile

PGDATA=/var/lib/pgsql/data
export PGDATA


Expected results:
[ -f /etc/profile ] && source /etc/profile

PGDATA=/opt/rh/postgresql92/root/var/lib/pgsql/data
export PGDATA


Additional info:
Maybe this is on purpose? It just seems to be strange to me.

Comment 5 errata-xmlrpc 2014-06-04 06:44:40 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0616.html


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