Control: reassign -1 apache2-dev Control: affects -1 libapache2-mod-php5 Hi Hamish,
while I agree with you, this problem has a source in dh_apache2, that calls the php5_enable function (as recommended by dh_apache2[1]) before trying to re-enable the extension during the upgrade. I could call "a2query -m php5" before switching the modules, but I think that this is generic and it should probably go to dh_apache2 helper. (Unless the more generic solution would be an overkill, in that case, please reassing the bug back to libapache2-mod-php5.) 1. https://anonscm.debian.org/gitweb/?p=pkg-apache/apache2.git;a=blob;f=debian/PACKAGING;hb=master#l317 Cheers, Ondrej On Mon, Sep 21, 2015, at 03:00, Hamish Moffatt wrote: > Package: libapache2-mod-php5 > Version: 5.6.13+dfsg-0+deb8u1 > Severity: normal > > I have disabled the php module (a2dismod php5) and switched to mpm_event. > > Upon upgrade, the postinst for libapache2-mod-php5 switched my MPM back > to mpm_prefork anyway. > > Setting up libapache2-mod-php5 (5.6.13+dfsg-0+deb8u1) ... > Module mpm_event disabled. > Enabling module mpm_prefork. > apache2_switch_mpm Switch to prefork > apache2_invoke php5: no action - module was disabled by maintainer > > > The package shouldn't re-enable itself on upgrade. > > > > Hamish > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-ma...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server