|Summary:||do not restart httpd in scriptlets|
|Product:||[Fedora] Fedora||Reporter:||Joe Orton <jorton>|
|Component:||phpMyAdmin||Assignee:||Mike McGrath <mmcgrath>|
|Status:||CLOSED ERRATA||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Fixed In Version:||2.11.3-1.fc7||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2007-12-10 20:44:50 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Joe Orton 2007-02-02 17:20:29 UTC
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): phpMyAdmin-2.9.2-1.fc6
Comment 1 Mike McGrath 2007-02-02 19:50:30 UTC
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.
Comment 2 Robert Scheck 2007-12-09 13:20:23 UTC
As I can read, it seems a can and not a must: http://fedoraproject.org/wiki/Packaging/ScriptletSnippets?highlight=%28condrestart%29#head-97754e2c646616c5f6222f0cfc6923c60765133e
Comment 3 Robert Scheck 2007-12-09 13:32:49 UTC
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.
Comment 4 Joe Orton 2007-12-10 10:22:50 UTC
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 :)
Comment 5 Fedora Update System 2007-12-10 20:44:45 UTC
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.
Comment 6 Fedora Update System 2007-12-10 20:47:03 UTC
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.