Red Hat Bugzilla – Bug 111504
[PATCH] rhdb startup script does not pay attention to PGOPTS variable / file
Last modified: 2013-07-02 22:59:46 EDT
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):
Steps to Reproduce:
1.echo "-i" > /etc/sysconfig/pgsql/rhdb
2.service rhdb start
3.ps -ef | grep postmaster
postmaster running without -i option
postmaster running with -i option
Created attachment 96345 [details]
proposed patch for this bug
Created attachment 96346 [details]
actual patch - first one had debugging information in the patch - sorry
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?
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.
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
*** Bug 121754 has been marked as a duplicate of this bug. ***
Repaired in rh-postgresql 7.3.6-3.
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.