[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#625223: marked as done (Please make the different MPMs co-installable)

Your message dated Sat, 7 May 2011 18:34:00 +0200
with message-id <20110507163400.GA29822@msgid.df7cb.de>
and subject line Re: Bug#625223: Please make the different MPMs co-installable
has caused the Debian Bug report #625223,
regarding Please make the different MPMs co-installable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

625223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625223
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache2
Version: 2.2.17-3

From /usr/share/doc/apache2/README.multiple-instances:

| MPMs
| ====
| You can use different MPMs for different instances by setting
| APACHE_HTTPD to one of /usr/lib/apache2/mpm-*/apache2. Note that
| some modules like mod_php only work with the non-threaded MPMs
| (prefork, itk).

Along with the magic in /etc/init.d/apache2, /usr/sbin/apache2ctl and
the other scripts that recognize -$favour suffixes, this works like a
charm to run multiple instances in parallel.

Unfortunately, the Debian packaging prevents the co-installation of
multiple Provides/Conflicts: apache2-mpm fields. The only file that is
actually conflicting is /usr/sbin/apache2 - this could easily be taken
care of by making it an "alternative". It is already a symlink, it
would just be managed by update-alternatives instead of being shipped
in some package. (Maybe with a raised priority for the "default" MPM.)

I would be willing to write a patch for this if the maintainers don't
think there would be an objection to enabling multiple instances with
different MPMs.

Thanks for considering,
Dembach Goo Informatik GmbH & Co. KG
Unter Sachsenhausen 33, D-50667 Köln
Tel.: +49 2161 4643 187, Fax: +49 221 801483 20
E-Mail: cbe@dg-i.net, Support-Hotline: 0800 / 100 4323

Amtsgericht Köln HRA 22794, USt-IdNr.: DE242 159 527
Haftende Gesellschafterin: Dembach Goo Verwaltungsgesellschaft mbH
Deren Geschäftsführer: Manon Goo, Andreas Dembach

Attachment: signature.asc
Description: Digital signature

--- End Message ---
--- Begin Message ---
Re: Stefan Fritsch 2011-05-05 <201105052037.56467.sf@sfritsch.de>
> > Currently, this doesn't work because of the Conflicts and hence
> > the APACHE_HTTPD is of no use for us.
> APACHE_HTTPD=/usr/lib/apache2/mpm-worker/apache2 works even if 
> apache2-mpm-worker is not installed.

Oh. We were completely missing the fact that the actual MPM is shipped
in apache2.2-bin and not in the apache2-mpm-* package. I should have
noticed that before, it was probably too surprising to me as a design
choice to ship only the symlink in the package.

This solves our problem, thanks for the hint and sorry for wasting
your time. I'm closing the bug.

cb@df7cb.de | http://www.df7cb.de/

--- End Message ---

Reply to: