Bug 111504 - [PATCH] rhdb startup script does not pay attention to PGOPTS variable / file
[PATCH] rhdb startup script does not pay attention to PGOPTS variable / file
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: postgresql (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tom Lane
David Lawrence
:
: 121754 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-04 12:52 EST by John Berninger
Modified: 2013-07-02 22:59 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-06-23 18:59:12 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)
proposed patch for this bug (743 bytes, patch)
2003-12-04 12:54 EST, John Berninger
no flags Details | Diff
actual patch - first one had debugging information in the patch - sorry (593 bytes, patch)
2003-12-04 12:55 EST, John Berninger
no flags Details | Diff

  None (edit)
Description John Berninger 2003-12-04 12:52:33 EST
Description of problem:
service rhdb start does not use options created in
/etc/sysconfig/pgsql/rhdb as it should

Version-Release number of selected component (if applicable):
rh-postgresql-server-7.3.4-8

How reproducible:
always

Steps to Reproduce:
1.echo "-i" > /etc/sysconfig/pgsql/rhdb
2.service rhdb start
3.ps -ef | grep postmaster
  
Actual results:
postmaster running without -i option

Expected results:
postmaster running with -i option

Additional info:
Comment 1 John Berninger 2003-12-04 12:54:18 EST
Created attachment 96345 [details]
proposed patch for this bug
Comment 2 John Berninger 2003-12-04 12:55:40 EST
Created attachment 96346 [details]
actual patch - first one had debugging information in the patch - sorry
Comment 3 David Jee 2003-12-05 16:05:01 EST
Currently, there is no active support for the rh-postgresql set of
packages in RHEL3.  So as it stands, there will be no errata. 
However, the same set of RPMs have been incorporated into Fedora Core
1, under the name of postgresql-*.  I can include your patch into
Fedora's postgresql instead.  Would that work for you?
Comment 4 John Berninger 2003-12-05 16:33:49 EST
For me personally, yes...  but GSS is going to be expected to support
this, and this may not work for Thomas, especially considering the
issues we've had recently about the server packages not being in the
original RHEL 3 release to begin with.  Customers are not going to be
too happy, but I'll leave the final decision to others higher up in
the food chain.
Comment 5 Tom Lane 2004-03-10 16:57:50 EST
I have patched this for Fedora Core 2.  If I get a window of
opportunity I will sneak it into the RHEL3 stream as well, but I won't
roll the RHEL package just for this.  (As a rule, you'd be better off
setting options from postgresql.conf than on the postmaster command
line anyway.)
Comment 6 Tom Lane 2004-04-28 09:55:31 EDT
*** Bug 121754 has been marked as a duplicate of this bug. ***
Comment 7 Tom Lane 2004-06-23 18:59:12 EDT
Repaired in rh-postgresql 7.3.6-3.
Comment 9 Tom Lane 2004-09-22 19:34:04 EDT
initdb takes care of copying postgresql.conf.sample to the active file
($PGDATA/postgresql.conf).  We cannot do what you suggest without
making wholesale revisions to the way the upstream package works. 
Whether or not it would be a good idea in a green-field situation, I
don't think it's wise to make RH's version of postgres work
differently from everyone else's.

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