[torqueusers] torque daemons can not be stopeed
duringuninstall
Bogdan Costescu
Bogdan.Costescu at iwr.uni-heidelberg.de
Thu Dec 4 06:17:09 MST 2008
On Wed, 3 Dec 2008, Stewart.Samuels at sanofi-aventis.com wrote:
> I have never used RPM to stop running daemons when removing packages
> for an other application. Is this something that is commonly done?
Yes, many daemons from the base OS (RHEL/Fedora, don't know about
SLES/OpenSUSE) do this. There are many reasons, one of them being: the
/etc/init.d script for starting and stopping the daemon is removed
together with the package - how do you properly shutdown the daemon
afterwards ?
Another common feature of the base OS daemon packages is to use
"condrestart" as an argument to the /etc/init.d script. This is
supposed to run in %post and restart the daemon only if it was running
before; the use case is for a daemon that is updated while running -
it will continue to run until the installation of the new version is
complete and only then the old daemon is stopped and the new one
started.
--
Bogdan Costescu
IWR, University of Heidelberg, INF 368, D-69120 Heidelberg, Germany
Phone: +49 6221 54 8240, Fax: +49 6221 54 8850
E-mail: bogdan.costescu at iwr.uni-heidelberg.de
More information about the torqueusers
mailing list