Bug 1376536 - RFE: reduce httpd restarts during update transaction
Summary: RFE: reduce httpd restarts during update transaction
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luboš Uhliarik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 16:17 UTC by Joe Orton
Modified: 2016-10-17 10:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Joe Orton 2016-09-15 16:17:55 UTC
Description of problem:
During an RPM upgrade transaction multiple components (such as httpd itself, any module package, any web app with a configuration changes) may be updated which require a restart of httpd to take effect.  Currently these can only manually trigger an httpd reload per-component.

Version-Release number of selected component (if applicable):
any

Proposals:

1. for httpd add a file trigger such as:

%transfiletriggerin -- /usr/sbin/httpd /etc/httpd/conf.d  \
   /etc/httpd/conf.modules.d /usr/lib64/httpd/modules

2. Possibly define some %_httpd_auto_reload in macros.httpd, so webapp packaging can detect an httpd which supports this (and drop manual reload in %post)

Is this sufficient?

Comment 1 Fedora Admin XMLRPC Client 2016-10-17 10:42:09 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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