Merge ~athos-ribeiro/ubuntu/+source/apache2:postinst-triggered into ubuntu/+source/apache2:ubuntu/devel
Status: | Merged |
---|---|
Approved by: | git-ubuntu bot |
Approved revision: | not available |
Merge reported by: | Andreas Hasenack |
Merged at revision: | 17978a476101cf45d5745784d1be9ffd781424d8 |
Proposed branch: | ~athos-ribeiro/ubuntu/+source/apache2:postinst-triggered |
Merge into: | ubuntu/+source/apache2:ubuntu/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+462591@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:/
Testing in noble should be done in a different way since we are relaying on the release pocket => updates pocket upgrade path.
One idea would be to use the package in the -proposed pocket (if still available) or to build a new package with a deb version bump to test it.