Bug 227025 - do not restart httpd in scriptlets
do not restart httpd in scriptlets
Product: Fedora
Classification: Fedora
Component: phpMyAdmin (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-02-02 12:20 EST by Joe Orton
Modified: 2007-12-10 15:47 EST (History)
1 user (show)

See Also:
Fixed In Version: 2.11.3-1.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-10 15:44:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2007-02-02 12:20:29 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):
Comment 1 Mike McGrath 2007-02-02 14:50:30 EST
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 3 Robert Scheck 2007-12-09 08:32:49 EST
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 05:22:50 EST
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 15:44:45 EST
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 15:47:03 EST
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.

Note You need to log in before you can comment on or make changes to this bug.