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

Bug#364928: apache: Action of restart is always surprising



Package: apache
Version: 1.3.33-6sarge1
Severity: wishlist


When I upgraded Perl and had some mod_perl code start dying with
messages about version mis-matches, I had to relearn again that
invoke-rc.d apache-perl restart doesn't really restart. I wish it did,
that wouldn't be suprising to me at all. The restart action not really
restarting is most suprising.

I wish the init script were changed so that:
reload) 
- No change, what it does now.
force-reload)
- What restart does now.
restart | reload-modules)
- What reload-modules does now.


There are probably some strong reasons why this can't be. Hopefully not
though and maybe it's already changed. I didn't pick it out of the
changelog for unstable if it was.

Here are some bug reports related to /etc/init.d/apache*
start/stop/restart/reload:

348474: invoke-rc.d apache-perl restart doesn't reload perl modules
- I agree with Geoff's report. It is suprising that restart doesn't
  restart and thus ensuring a reload of modules.

359082: Update to (5.8.4-8sarge4) broke Errno.pm
- restart apache... (stop/start cycle or reload-modules)

237377: Apache parent process dies at reload
- Change the restart with a stop

157021: (logrotate issue)
- Fixed with update

83820: init.d/apache restart failed
110456: apache tries to restart too soon
- Waits up to 30 seconds for apache to stop on a restart
- Add a call to /etc/init.d/apache restart in postinst.

158993: /etc/init.d/apache restart fails (socket still bound)
- This is where the change to the current reload | force-reload & etc
  happened
- The should_start check seems to have been dropped

57333: cron.daily/apache restarts apache
- Cron script reloads apache with a -HUP, if possible, instead of
  using apachectl which may have undesired side effects, closes: #57333

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache depends on:
ii  apache-common         1.3.33-6sarge1     support files for all Apache webse
ii  debconf               1.4.30.13          Debian configuration management sy
ii  dpkg                  1.10.28            Package maintenance system for Deb
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libdb4.2              4.2.52-18          Berkeley v4.2 Database Libraries [
ii  libexpat1             1.95.8-3           XML parsing C library - runtime li
ii  libmagic1             4.12-1             File type determination library us
ii  logrotate             3.7-5              Log rotation utility
ii  mime-support          3.28-1             MIME files 'mime.types' & 'mailcap
ii  perl                  5.8.4-8sarge4      Larry Wall's Practical Extraction 

-- debconf information:
  apache/server-name: localhost
  apache/document-root: /var/www
  apache/server-port:
* apache/enable-suexec: false
  apache/init: true
  apache/server-admin: webmaster@localhost



Reply to: