Your message dated Wed, 22 Aug 2018 12:02:29 +0200
with message-id 
<caj2a_dd+cskugg2nelyieehzv5hat0ubvlpku42mpwybog9...@mail.gmail.com>
and subject line logrotate: wrong order of compression and script execution
has caused the Debian Bug report #611238,
regarding logrotate: wrong order of compression and script execution
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
611238: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611238
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: logrotate
Version: 3.7.8-6
Severity: normal
Tags: squeeze

Dear all,

according to the logrotate man page the script is executed after
compression: "The sharedscripts means that the postrotate script will
only be run once (after the old logs have been com‐ pressed) [...]".
This was the case with lenny, but is not with squeeze. As a result at
the time of the script execution I see log.1 instead of log.1.gz.

Please fix the man page or revert the change of order.

Best regards,
Carsten Otto

-- Package-specific info:
Contents of /etc/logrotate.d
total 56
-rw-r--r-- 1 root root  498 Jan 27 08:27 apache2
-rw-r--r-- 1 root root  173 Nov 30 12:16 apt
-rw-r--r-- 1 root root   79 Dec  5  2008 aptitude
-rw-r--r-- 1 root root  330 Mar  7  2008 atop
-rw-r--r-- 1 root root  113 Jul 11  2008 cron-apt
-rw-r--r-- 1 root root  232 Jan  6 22:11 dpkg
-rw-r--r-- 1 root root  151 Sep 29  2007 iptraf
-rw-r--r-- 1 root root  233 Jan 27 08:54 nginx
-rw-r--r-- 1 root root 1061 Mar  7  2008 psaccs_atop
-rw-r--r-- 1 root root  512 Mar  7  2008 psaccu_atop
-rw-r--r-- 1 root root  200 Aug 14 15:16 rsyncd
-rw-r--r-- 1 root root 1565 Jan  2 00:12 syslog-ng
-rw-r--r-- 1 root root  273 Jan 26 11:56 vsftpd


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

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

Versions of packages logrotate depends on:
ii  base-passwd                   3.5.22     Debian base system master password
ii  cron                          3.0pl1-116 process scheduling daemon
ii  libc6                         2.11.2-9   Embedded GNU C Library: Shared lib
ii  libpopt0                      1.16-1     lib for parsing cmdline parameters
ii  libselinux1                   2.0.96-1   SELinux runtime shared libraries

Versions of packages logrotate recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent

logrotate suggests no packages.

-- no debconf information




--- End Message ---
--- Begin Message ---
The manpage now says:

    ...
    If sharedscripts is specified, the scripts are only run once, no
matter how many logs match the wildcarded pattern, and whole pattern
is passed to them.
    ...

--- End Message ---

Reply via email to