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

Bug#275175: stop in prerm vs. force-reload in postinst



Package: apache2-mpm-prefork
Version: 2.0.52-1
Severity: minor

Hello,

if I upgrade the apache2-mpm-prefork package, the old apache is
stopped via prerm and the postinst tries to force-reload the server.

This results in a message `httpd (no pid file) not running' (and a
running web server).

I suggest to start apache in postinst unconditionally. Then, I think,
you don't need preinst and the file /var/cache/apache2/reload any more.

I'm not sure, if the alternative (not to stop apache on upgrade in
postrm and force-reload in postinst) is a save way to replace it - you
know better and may choose this one.

Regards
Uwe

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc1
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache2-mpm-prefork depends on:
ii  apache2-common              2.0.52-1     Next generation, scalable, extenda
ii  libapr0                     2.0.52-1     The Apache Portable Runtime
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-17    Berkeley v4.2 Database Libraries [
ii  libexpat1                   1.95.6-8     XML parsing C library - runtime li
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libssl0.9.7                 0.9.7d-5     SSL shared libraries
ii  zlib1g                      1:1.2.1.1-7  compression library - runtime

-- no debconf information

Attachment: signature.asc
Description: Digital signature


Reply to: