Dear Hamish,
sorry, I didn't think all the way through what you were writing.
Actually, enabling (and probably disabling) modules in Apache2 always
requires a restart of the main daemon process - so performing a graceful
restart/reload is simply not supported here (you are experiencing the
actual reason for that).
That's also why I wasn't able to reproduce in the first place - because
I restarted Apache after installing the Module out of muscle memory. ;-)
Hope that helps,
Moritz
On 17.01.22 00:55, Hamish Moffatt wrote:
I'm seeing this in bullseye with a brand new apache install. Every
graceful restart (apache2ctl graceful) causes a segfault.
I don't have PHP or any other non-fault modules installed.
To reproduce: Set up fresh VM; apt install apache2; apt install
libapache2-mod-auth-openidc; apache2ctl graceful
[Sun Jan 16 23:55:27.742953 2022] [mpm_event:notice] [pid 2412:tid
140640895987008] AH00493: SIGUSR1 received. Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully
qualified domain name, using 127.0.0.2. Set the 'ServerName' directive
globally to suppress this message
[Sun Jan 16 23:55:27.759267 2022] [mpm_event:notice] [pid 2412:tid
140640895987008] AH00489: Apache/2.4.52 (Debian) configured -- resuming
normal operations
[Sun Jan 16 23:55:27.759284 2022] [core:notice] [pid 2412:tid
140640895987008] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 16 23:55:27.759752 2022] [core:notice] [pid 2412:tid
140640895987008] AH00052: child pid 2480 exit signal Segmentation fault
(11)
This did not occur in buster.
Hamish
--
Moritz Schlarb
Unix und Cloud
Zentrum für Datenverarbeitung
Johannes Gutenberg-Universität Mainz
OpenPGP-Fingerprint: DF01 2247 BFC6
5501 AFF2 8445 0C24 B841 C7DD BAAF