Red Hat Bugzilla – Bug 114846
postgresql-server should stop itself before uninstall
Last modified: 2013-07-02 23:00:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2)
Description of problem:
Uninstalling the postgresql server while it is running
will leave it running, yet erasing the executables, breaking
at least "service rhdb stop" (as the rhdb script obviously has gone)
I do not know what Red Hat's general policy on this matter is
(wheter a servicens hould be stopped before uninstall)
but net-snmp for example does contain code in the %preun script
to stop the server if it is running and the server is removed
(instead of upgraded).
To be consistent, and for plain convenience I suggest the same for
I do not know what the implications are for "server clusters", when
several instances of postmaster run on the same host, but this
seems to be generally out of the scope of package management
(and severe breakage would ensure nevertheless, for the other
instances, as the server binaries and support files are gone)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. /sbin/service rhdb start
2. rpm --erase rh-postgresql-server
3. ps -axuww
Actual Results: postmaster still running
Expected Results: postmaster should have been stopped, as the
software is being removed
from the system
Internal RFE bug #115131 entered; will be considered for future releases.
postgresql-server is not supported in RHEL3.
You are joking, right ?
This is rh-postgresql-server, available via RHN, in the standard RHEL3
NOTHING, NOWHERE, IS IT SAID THAT rh-postgresql-server IS NOT SUPPORTED.
Next time, you will be telling me glibc is not supported, or what?
Fixed in rh-postgresql 7.3.6-3 and postgresql 7.4.3-1.