[php-maint] Bug#589386: Bug#589386: libapache2-mod-php5 should probably restart instead of force-reload in postinst

Raphael Geissert geissert at debian.org
Sun Jul 18 18:49:41 UTC 2010


Hi Stefan

On Saturday 17 July 2010 04:10:51 Stefan Fritsch wrote:
> On a new install when apache2 is not yet installed, libapache2-mod-php5
> will pull in apache2. In this case it can happen that apache2 is not yet
> fully started, causing it to ignore the graceful reload command issued by
> libapache2-mod-php5's postinst.  This can lead to php not being active in
> the running apache2.  A safer solution may be to restart instead of
> force-reload. See also:
> 
> https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/603192

I don't think this should be addressed on php5's side. The bug, IMO, is 
somewhere in apache (at whatever level you may want to address it: the init 
script, apache2ctl, or apache2) as it appears that it attempts to deliver a 
signal when the signal handler may not be set.

Forcing a restart causes service interruptions, which I'm not very keen on.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the pkg-php-maint mailing list