#1140054 libapache2-mod-python: smoke autopkgtest may serve hello.py as static file after apache reload

Package:
libapache2-mod-python
Source:
libapache2-mod-python
Description:
Python-embedding module for Apache 2
Submitter:
Zineb Zaadoud
Date:
2026-06-26 15:43:02 UTC
Severity:
normal
Tags:
#1140054#5
Date:
2026-06-15 10:07:21 UTC
From:
To:
I reproduced an autopkgtest failure where the smoke test updates
apache2.conf and then immediately curls the test URLs.

With service apache2 reload, Apache can still serve hello.py as a static
file instead of using the updated mod_python handler configuration.

Restarting apache2 after updating the config fixes the issue, and the smoke
autopkgtest passes locally with this change.

I attached a  patch changing the test from service apache2 reload to service
apache2 restart.

#1140054#10
Date:
2026-06-26 15:41:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libapache2-mod-python, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140054@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guilherme Puida Moreira <puida@debian.org> (supplier of updated libapache2-mod-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 26 Jun 2026 11:27:00 -0300
Source: libapache2-mod-python
Architecture: source
Version: 3.5.0.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Guilherme Puida Moreira <puida@debian.org>
Closes: 1140054
Changes:
 libapache2-mod-python (3.5.0.7-2) unstable; urgency=medium
 .
   * Team upload.
   * d/t/smoke: restart apache2 after updating configuration.
     Thanks to Zineeb Zaadoud for the patch (Closes: #1140054)
Checksums-Sha1:
 c214161da99be6779ba0c8a824a4b68a882a262a 2027 libapache2-mod-python_3.5.0.7-2.dsc
 e1c8e53e020585621d0cc9598d9f4ff631b71612 12376 libapache2-mod-python_3.5.0.7-2.debian.tar.xz
 7c7ca356ee7ebb5f78ae1f8688d04b4e76b94a96 8389 libapache2-mod-python_3.5.0.7-2_amd64.buildinfo
Checksums-Sha256:
 11e27f63153694b54d056f75e25128796bb3f59c542a9ef8e55670521a2d7cb9 2027 libapache2-mod-python_3.5.0.7-2.dsc
 7640276a29a9dc8d07f0d727bb54fe0d4d504812d08078ffa6e1abc1c14ae18c 12376 libapache2-mod-python_3.5.0.7-2.debian.tar.xz
 f81b57170d6fb2872fe36874bad50e49e0fbaefbf49e3b9842acce427bf3c39e 8389 libapache2-mod-python_3.5.0.7-2_amd64.buildinfo
Files:
 6aac375c688ceaf5277a4b128ffd997d 2027 httpd optional libapache2-mod-python_3.5.0.7-2.dsc
 f6bac066da06bf6326023b80d56029bf 12376 httpd optional libapache2-mod-python_3.5.0.7-2.debian.tar.xz
 80c249856cb724a45fb3aad25aeb5bd2 8389 httpd optional libapache2-mod-python_3.5.0.7-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iIcEARYKAC8WIQTeMkQVK+KjDyRarWvvvHpsnQkkRAUCaj6T7REccHVpZGFAZGVi
aWFuLm9yZwAKCRDvvHpsnQkkRDsLAP4ihXLSHNCAH20hLhJrmsl+gehjhvb2z5pS
JGcbY3VvkQD9Fw1gHU9c++lkOLp6A/9LDYrjGt7o6rLlKyVYEwRxzwg=
=YGl/
-----END PGP SIGNATURE-----