I fetched the reproducer script and changed it as suggested in the test
plan to make it fetch the fixed package from the proposed pocket. I did
so by using the following patch:
diff -dru reproduce.sh new-reproducer.sh
--- reproduce.sh 2024-03-18 16:33:05.000000000 -0300
+++ new-reproducer.sh 2024-12-04 09:09:38.267147103 -0300
@@ -36,9 +36,9 @@
if [[ -n "${TEST_FIX}" ]]; then
echo 'Installing proposed fix from PPA...'
- lxc exec ${PHP_CONTAINER} -- add-apt-repository -y
"ppa:athos-ribeiro/apache2-postist-triggered" > /dev/null
+ lxc exec ${PHP_CONTAINER} -- add-apt-repository -y -p proposed
lxc exec ${PHP_CONTAINER} -- apt-get update > /dev/null
- lxc exec --env DEBIAN_FRONTEND=noninteractive ${PHP_CONTAINER} -- apt-get
install -y apache2 > /dev/null
+ lxc exec --env DEBIAN_FRONTEND=noninteractive ${PHP_CONTAINER} -- apt-get
install -y apache2/jammy-proposed
fi
Reproducing the bug:
==============================================
=== REQUEST WITH OLD PHP VERSION INSTALLED ===
Current PHP version: 8.1.2
=== REQUEST WITH NEW PHP VERSION INSTALLED ===
Current PHP version: 8.1.2
restarting apache2...
=== REQUEST WITH NEW PHP VERSION INSTALLED ===
=== AFTER RESTARTING APACHE2 ===
Current PHP version: 8.1.2-1ubuntu2.19
==============================================
Verifying the fix with package in proposed:
==============================================
=== REQUEST WITH OLD PHP VERSION INSTALLED ===
Current PHP version: 8.1.2
=== REQUEST WITH NEW PHP VERSION INSTALLED ===
Current PHP version: 8.1.2-1ubuntu2.19
restarting apache2...
=== REQUEST WITH NEW PHP VERSION INSTALLED ===
=== AFTER RESTARTING APACHE2 ===
Current PHP version: 8.1.2-1ubuntu2.19
==============================================
As expected, the only different version is the one before the update
(meaning that updating the package will ensure the new version is
running within the web server right after the update).
** Tags removed: verification-needed verification-needed-jammy
** Tags added: verification-done verification-done-jammy
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2038912
Title:
Upgrade of libapache2-mod-php8.1 does not reload apache2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2038912/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs