Bug 161964 - rhdb-jonas init script does not honor the sysconfig PGPORT setting
rhdb-jonas init script does not honor the sysconfig PGPORT setting
Product: Red Hat Application Server Public Beta
Classification: Retired
Component: jonas (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Fernando Nasser
Depends On:
  Show dependency treegraph
Reported: 2005-06-28 15:36 EDT by Fernando Nasser
Modified: 2007-04-18 13:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-29 13:45:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Fernando Nasser 2005-06-28 15:36:04 EDT
Description of problem:

Setting PGPORT in /etc/sysconfig/rhdb-jonas has no effect

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Set PGPORT to 5434 in /etc/sysconfig/rhdb-jonas
2. service rhdb-jonas start
3. try connecting to the database on 5434, then try 5433 
Actual results:

database is listening on 5433, not 5434

Expected results:

database listening on 5434

Additional info:

The idea was not to have a copy of the postgresql init script.  This was done
only because the community version of the init script was not configurable.  The
new versions of postgresql come with our sysconfig setting scheme in
/etc/sysconfig/pgsql subdirectory though) so we can now just create a symbolic
link to the init script installed by the postgresql package.
Comment 1 Fernando Nasser 2005-06-29 13:45:35 EDT
Fixed on rpms > 4.4.2-1jpp_13rh

/etc/rc.d/init.d/rhdb-jonas is now a link to /etc/rc.d/init.d/postgresql

and the configuration is now at


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