Bug#227491: apache: Init script breaks expected behaviour (Oct 28 change)
Package: apache
Version: 1.3.29.0.1-3
Severity: normal
Tags: sid
Apache init script change made, log entry:
* (Matthew Wilcox)
- Various changes to apache.init, apache-perl.init and
apache-ssl.init:
+ Send a HUP for restart, then attempt to start the daemon if that fails. (Closes: #158993)
-- Fabio M. Di Nitto <fabbione@fabbione.net> Tue, 28 Oct 2003 18:15:21
+0100
I have read the bug report and while I agree that the socket binding
issue is a problem, I don't believe that modifying the "restart" handler
is a good move. Traditionally, restart invokes a complete stop and start
of the package. The -HUP signal functionality is not equivalent, for example
I stumbled upon this issue when I did a restart and suexec was not
loaded in after I moved the suexec binary to the relevant place.
On the other hand, I'm not getting wound up about it, it seemed worth
making a note somewhere public so that others who might scratch their
head at a similar issue may find an answer.
On the DWIM note, I think "restart" is a clear enough verb, it means
stop, start, not send-friendly-signals or partially-restart.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux darko 2.6.0-test11 #4 Tue Dec 30 18:00:53 NZDT 2003 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages apache depends on:
ii apache-common 1.3.29.0.1-3 Support files for all Apache webse
ii debconf 1.3.22 Debian configuration management sy
ii dpkg 1.10.18 Package maintenance system for Deb
ii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries an
ii libdb4.1 4.1.25-10 Berkeley v4.1 Database Libraries [
ii libexpat1 1.95.6-6 XML parsing C library - runtime li
ii libmagic1 4.06-1 File type determination library us
ii libpam0g 0.76-14 Pluggable Authentication Modules l
ii logrotate 3.6.5-2 Log rotation utility
ii mime-support 3.23-1 MIME files 'mime.types' & 'mailcap
ii perl [perl5] 5.8.2-2 Larry Wall's Practical Extraction
-- debconf information:
apache/server-name: localhost
apache/document-root: /var/www
apache/server-port: 80
* apache/enable-suexec: false
apache/init: true
apache/server-admin: you@your.address
Reply to: