Bug 1376536

Summary: RFE: reduce httpd restarts during update transaction
Product: [Fedora] Fedora Reporter: Joe Orton <jorton>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jkaluza, jorton, pahan, rcollet
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.