← Back to team overview

enterprise-support team mailing list archive

[Bug 1782806] [NEW] Typo in apache2-maintscript-helper causes MPM check to misfire

 

Public bug reported:

The following line appears to have a typo:

a2query -m "$mpm_$MPM" > /dev/null 2>&1 || a2query_ret=$?

It should read:

a2query -m "mpm_$MPM" > /dev/null 2>&1 || a2query_ret=$?

Since $mpm is not defined. Later on there are references to enabling and
disabling "mpm_$MPM".

https://salsa.debian.org/apache-
team/apache2/blob/master/debian/debhelper/apache2-maintscript-
helper#L290

This appears to trip up the Puppet apache module since it creates a
prefork module (rather than mpm_prefork), which results in the above
query returning a positive response. This is what's happening in bug
#1771934.

Fix is obvious and trivial so can hopefully be implemented soon. Appears
only to affect bionic since xenial had different code.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1782806

Title:
  Typo in apache2-maintscript-helper causes MPM check to misfire

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1782806/+subscriptions


Follow ups