[pkg-lighttpd] Bug#504319: lighttpd: Unnecessary restarts to rotate logs

Adrian Irving-Beer wisq-deb at wisq.net
Sun Nov 2 19:31:12 UTC 2008


Package: lighttpd
Version: 1.4.19-5
Severity: minor

The /etc/logrotate.d/lighttpd postrotate script uses the lighttpd
initscript with the 'reload' argument, which reloads the configuration
via a "graceful" SIGINT shutdown and restart.

(Note that the current SIGINT shutdown isn't actually particularly
graceful; see the other bug, #504315, that I just filed.)

The more correct approach would be to send a SIGHUP to lighttpd, which
causes it to just close and reopen the log files.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lighttpd depends on:
ii  libattr1               1:2.4.43-1        Extended attribute shared library
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-14            GNU C Library: Shared libraries
ii  libfam0                2.7.0-13.3        Client library to control the FAM 
ii  libldap-2.4-2          2.4.11-1          OpenLDAP libraries
ii  libpcre3               7.6-2.1           Perl 5 Compatible Regular Expressi
ii  libssl0.9.8            0.9.8g-13         SSL shared libraries
ii  libterm-readline-perl- 1.0302-1          Perl implementation of Readline li
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  mime-support           3.44-1            MIME files 'mime.types' & 'mailcap
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

lighttpd recommends no packages.

Versions of packages lighttpd suggests:
ii  apache2-utils                 2.2.9-10   utility programs for webservers
ii  openssl                       0.9.8g-13  Secure Socket Layer (SSL) binary a
pn  rrdtool                       <none>     (no description available)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20081102/0af68ba5/attachment.pgp 


More information about the pkg-lighttpd-maintainers mailing list