Red Hat Bugzilla – Bug 227025
do not restart httpd in scriptlets
Last modified: 2007-12-10 15:47:03 EST
Description of problem:
Please don't restart httpd in scriptlets. This must be left to root to do as
and when they decide it is necessary.
e.g. if httpd.conf is in a bad state the condrestart unnecessarily kills httpd.
If e.g. this is a production server the condrestart kills active requests.
Version-Release number of selected component (if applicable):
I could have sworn that condrestart was a policy of ours. Let me do some
research and make sure its not. If its not I'll turn it off, if it is perhaps
we need to change it.
As I can read, it seems a can and not a must:
I had a look to the other httpd specific packages and none seems to do such a
conditional restart. Anyway I'm personally really pissed of each time, I apply
a phpMyAdmin update and httpd goes down for the restart (because it takes a
couple of time at our servers).
I would remove that condrestart with the next update of the package.
Also e.g. if you get ten different httpd modules updated in a single transaction
you get ten separate restarts. It's just nuts - don't do it :)
phpMyAdmin-2.11.3-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
phpMyAdmin-2.11.3-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.