Bug 45857 - remove apache2-mpm-prefork from dependencies in univention-apache
remove apache2-mpm-prefork from dependencies in univention-apache
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Felix Botner
Jürn Brodersen
: interim-1
Depends on:
Blocks: 45841
  Show dependency treegraph
 
Reported: 2017-12-12 11:43 CET by Felix Botner
Modified: 2018-03-14 14:38 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-12-12 11:43:26 CET
apache2-mpm-prefork no longer exists in debian strech. The mpm-prefork module is included in apache2-bin

dpkg -S /usr/lib/apache2/modules/mod_mpm_prefork.so
apache2-bin: /usr/lib/apache2/modules/mod_mpm_prefork.so

and we can safely remove apache2-mpm-prefork and add a a2enmod mpm_prefork to the univention-apache postinst.
Comment 1 Felix Botner univentionstaff 2017-12-12 12:15:08 CET
removed apache2-mpm-prefork
added a2enmod mpm_prefork || true to postinst
Comment 2 Florian Best univentionstaff 2017-12-20 13:03:45 CET
Please add a changelog entry.
Comment 3 Felix Botner univentionstaff 2017-12-20 15:10:16 CET
(In reply to Florian Best from comment #2)
> Please add a changelog entry.
f0cf5bbe4be9aec77bf8b09bc69443e2363a6263
Comment 4 Florian Best univentionstaff 2017-12-20 15:13:24 CET
OK
Comment 5 Felix Botner univentionstaff 2018-01-31 13:07:05 CET
i get

ERROR Module mpm_event is enabled - cannot proceed due to conflicts! It needs to be disabled first

in the installer, this means that mpm_event is stil activated before the setup starts and that causes problem when switching to mpm_prefork / apache restart during the setup (apache fails to start and is not available during some parts of the setup, see also https://github.com/sous-chefs/apache2/issues/355)
Comment 6 Felix Botner univentionstaff 2018-01-31 14:06:00 CET
(In reply to Felix Botner from comment #5)
> i get
> 
> ERROR Module mpm_event is enabled - cannot proceed due to conflicts! It
> needs to be disabled first
> 
> in the installer, this means that mpm_event is stil activated before the
> setup starts and that causes problem when switching to mpm_prefork / apache
> restart during the setup (apache fails to start and is not available during
> some parts of the setup, see also
> https://github.com/sous-chefs/apache2/issues/355)


added 

a2dismod mpm_event || true

to univention-apache.postinst before a2enmod mpm_prefork

installation works (univention-check-join-status OK) again
Comment 7 Jürn Brodersen univentionstaff 2018-02-15 12:03:35 CET
What I tested:
updated 4.2->4.3 -> apache is running -> OK
restarted apache -> OK
a2dismod mpm_event -> Module mpm_event already disabled -> OK
a2enmod mpm_prefork -> Module mpm_prefork already enabled -> OK
changelog -> OK
Comment 8 Stefan Gohmann univentionstaff 2018-03-14 14:38:46 CET
UCS 4.3 has been released:
 https://docs.software-univention.de/release-notes-4.3-0-en.html
 https://docs.software-univention.de/release-notes-4.3-0-de.html

If this error occurs again, please use "Clone This Bug".