Merge ~athos-ribeiro/ubuntu/+source/apache2:postinst-triggered-mm into ubuntu/+source/apache2:ubuntu/mantic-devel
Status: | Approved |
---|---|
Approved by: | git-ubuntu bot |
Approved revision: | not available |
Proposed branch: | ~athos-ribeiro/ubuntu/+source/apache2:postinst-triggered-mm |
Merge into: | ubuntu/+source/apache2:ubuntu/mantic-devel |
Diff against target: |
38 lines (+12/-0) 2 files modified
debian/changelog (+8/-0) debian/debhelper/apache2-maintscript-helper (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
git-ubuntu bot | Approve | ||
Sergio Durigan Junior (community) | Approve | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+462597@code.launchpad.net |
Description of the change
libapache2-
php-X.Y-common activates the trigger whenever it is upgraded, and all php extensions shipped through the phpX.Y package has a pinned required version on the php-X.Y-common it was built with it (i.e., whenever php or a php extention built from the php source is updated, the trigger is activated). External (not built from the phpX.Y sources) extensions packaged should also activate the trigger so apache2 is restarted.
The trigger relies on the apache2-
This means that apache2 is not restarted when php or an extension is upgraded.
The proposed patch adds support for "postinst triggered" in apache2.
While PHP seems to be the only package using a trigger with the pache2-
A script to test this patch from the the PPA linked below is available at https:/
See LP: #2038912 for additional context.
PPA: https:/
I will prepare the SRU templates for this one after we agree this is an acceptable change and its noble counterpart gets uploaded.