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

Bug#445599: marked as done (logrotate: fails to restart if ssl password required)



Your message dated Sun, 30 Dec 2007 17:02:51 +0100
with message-id <200712301702.51800.sf@sfritsch.de>
and subject line bug #445599: logrotate: fails to restart if ssl password required
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apache2
Version: 2.2.3-4+etch1
Severity: normal


The apache2 logrotate script includes a script which restarts apache.  This
fails if an SSL password is required at startup.

Can I suggest the restart action is replaced with the copyrotate function.
facility.  This avoids the need to do a restart at all.

/var/log/apache2/*.log {
        weekly
        missingok
        rotate 52
        compress
        delaycompress
        notifempty
        copytruncate
        create 640 root adm
}

Dick


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork        2.2.3-4+etch1 Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
version: 2.2.3-4+etch3

Hi,

> The apache2 logrotate script includes a script which restarts
> apache.  This fails if an SSL password is required at startup.
>
> Can I suggest the restart action is replaced with the copyrotate
> function. facility.  This avoids the need to do a restart at all.

The copyrotate function can lead to log entries being lost. It is 
recommended to change the restart to reload if you have ssl keys with 
passwords. Starting with 2.2.3-4+etch3, this is now documented in 
README.Debian.

Cheers,
Stefan




--- End Message ---

Reply to: