Package: libapache2-mod-python
Version: 3.5.0+git20211031.e6458ec-1+b1
Severity: normal
X-Debbugs-Cc: <jer...@turnkeylinux.org>

Dear Maintainer,

Encountered the following apache log items today after installing libapache2-mod-python on a fresh installation of Debian 12 Bookworm.

[Tue Jul 04 01:11:11.589215 2023] [:error] [pid 4760] python_init: Python version mismatch, expected '3.11.1', found '3.11.2'. [Tue Jul 04 01:11:11.589291 2023] [:error] [pid 4760] python_init: Python executable found '(null)'. [Tue Jul 04 01:11:11.589310 2023] [:error] [pid 4760] python_init: Python path being used '(null)'. [Tue Jul 04 01:11:11.589344 2023] [:notice] [pid 4760] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Tue Jul 04 01:11:11.589365 2023] [:notice] [pid 4760] mod_python: using mutex_directory /tmp [Tue Jul 04 01:11:11.657668 2023] [mpm_prefork:notice] [pid 4760] AH00163: Apache/2.4.57 (Debian) mod_python/3.5.0+git20211031.e6458ec-1+b1 Python/3.11.2 OpenSSL/3.0.9 mod_perl/2.0.12 Perl/v5.36.0 configured -- resuming normal operations [Tue Jul 04 01:11:11.657780 2023] [core:notice] [pid 4760] AH00094: Command line: '/usr/sbin/apache2'

(I have truncated to only include items relevant to mod_python)

Specifically the first 3 lines are what confuse me, it appears to reject the version of python present and then finds no executable or path. But then later appears to be working?

I don't actually need mod-python right now and I've not got time to test whether or not it actually functions at runtime however the log items alone suggest "some" bug.

Seems somewhat similar to #592988:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592988

-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-9-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libapache2-mod-python depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.57-2
ii  libc6                               2.36-9
ii  libpython3.11                       3.11.2-6
ii  python3                             3.11.2-1+b1
libapache2-mod-python recommends no packages.
Versions of packages libapache2-mod-python suggests:
pn  libapache2-mod-python-doc  <none>
-- no debconf information

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to