Bug 68907 - No additonal options are supported e.g. from /etc/sysconfig/postgresql
No additonal options are supported e.g. from /etc/sysconfig/postgresql
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
7.3
All Linux
low Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-15 16:47 EDT by Peter Bieringer
Modified: 2007-03-26 23:54 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-15 16:47:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Peter Bieringer 2002-07-15 16:47:20 EDT
Description of problem:
Startup script doesn't support any additional option e.g. taken from 
/etc/sysconfig/postgresql
for starting the postmaster.

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


How reproducible:
Always

Steps to Reproduce:
1.N.a.
2.
3.
	

Actual Results:  Have to change initscript itself

Expected Results:  e.g. use OPTIONS from /etc/sysconfig/postgresql

Additional info:

this is e.g. needed if postmaster should listen on TCP port (option "-i" and "-h
<ip>") like

-               su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
/usr/bin/postmaster start  > /dev/null 2>&1" < /dev/null
+               su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -o '-i
-h 127.0.0.1' -p /usr/bin/postmaster start  > /dev/null 2>&1" < /dev/null
Comment 1 Trond Eivind Glomsrxd 2002-07-15 16:54:54 EDT
You set that in postgresql.conf, not in the initscript.

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