Your message dated Wed, 22 Aug 2018 17:44:06 +0200
with message-id 
<CAJ2a_De3QKjPyP1b+Dy+zut2a=wryplagy-yntzjwf4kmr2...@mail.gmail.com>
and subject line logrotate sends compressed logs by email
has caused the Debian Bug report #854216,
regarding logrotate sends compressed logs by email
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.)


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

After upgrade logrotate sends me compressed logs after rotation instead of 
plain uncompressed ones.

I can't find any documentation about this change (ie. new option or sth) so I 
do not know if it is 
intentional or not.

With 3.8.7-2 I got text as expected.


-- Package-specific info:
Contents of /etc/logrotate.d
total 116
-rw-r--r-- 1 root root  175 Jul  1  2012 apt
-rw-r--r-- 1 root root   68 Oct 11  2009 aptitude
-rw-r--r-- 1 root root  201 Oct 11  2009 checksecurity
-rw-r--r-- 1 root root  194 May 15  2014 clamav-daemon
-rw-r--r-- 1 root root  382 Sep 11  2015 clamav-daemon.ucf-dist
-rw-r--r-- 1 root root  215 May 15  2014 clamav-freshclam
-rw-r--r-- 1 root root  409 Sep 11  2015 clamav-freshclam.ucf-dist
-rw-r--r-- 1 root root  413 Nov 30  2013 cups-daemon
-rw-r--r-- 1 root root  181 May  4  2014 cups-daemon.dpkg-dist
-rw-r--r-- 1 root root  221 Aug 26  2010 cups.dpkg-bak
-rw-r--r-- 1 root root  101 Oct 11  2009 dpkg
-rw-r--r-- 1 root root   80 Apr 10  2011 exim4-base
-rw-r--r-- 1 root root   80 Apr 18  2011 exim4-paniclog
-rw-r--r-- 1 root root  216 Oct 14  2012 freeradius
-rw-r--r-- 1 root root 1108 Nov 10 10:12 freeradius.dpkg-dist
-rw-r--r-- 1 root root    0 Dec 13  2013 local
-rw-r--r-- 1 root root  144 Sep 14  2013 postgresql-common
-rw-r--r-- 1 root root  173 Dec  6  2011 postgresql-common.dpkg-dist
-rw-r--r-- 1 root root  173 Jan 10  2014 postgresql-common.ucf-dist
-rw-r--r-- 1 root root   94 Oct 19  2014 ppp
-rw-r--r-- 1 root root  591 Jan 18  2015 rsyslog
-rw-r--r-- 1 root root  515 Jul 11  2011 rsyslog.dpkg-dist
-rw-r--r-- 1 root root  398 Jul  2  2015 samba
-rw-r--r-- 1 root root  357 Oct 31 15:07 samba.dpkg-dist
-rw-r--r-- 1 root root  227 Nov  9  2015 squid
-rw-r--r-- 1 root root  334 Apr  3  2016 squid.dpkg-dist
-rw-r--r-- 1 root root  256 Jul 22  2013 squid3.dpkg-dist
-rw-r--r-- 1 root root  298 Oct 20  2014 stunnel4
-rw-r--r-- 1 root root  241 Nov  6  2015 suck
-rw-r--r-- 1 root root  319 Dec  1  2013 xdm


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages logrotate depends on:
ii  anacron             2.3-23
ii  base-passwd         3.5.43
ii  cron [cron-daemon]  3.0pl1-128
ii  libacl1             2.2.52-3
ii  libc6               2.24-9
ii  libpopt0            1.16-10
ii  libselinux1         2.6-3

Versions of packages logrotate recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20160123cvs-3

logrotate suggests no packages.

-- Configuration Files:
/etc/cron.daily/logrotate changed:
test -x /usr/sbin/logrotate || exit 0

/etc/logrotate.conf changed:
weekly
notifempty
rotate 540
start 0
create
compress
delaycompress
dateext
mail root
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/unxz
compressext .xz
compressoptions -9
tabooext +.dpkg-bak
minsize 1M
maxage 3780
include /etc/logrotate.d
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
}
/var/log/btmp {
    missingok
    monthly
    create 0664 root utmp
}
/var/log/kjonca.*/syslog 
/var/log/beta.kjonca
/var/log/lambda.kjonca
/var/log/ni.kjonca/syslog
/var/log/news/newsx/*.log
/var/log/sudo/log {
    missingok
    notifempty
}
/var/log/dovecot{
    missingok
        notifempty
        postrotate
      /etc/init.d/dovecot reload >/dev/null
   endscript
}
/var/log/mail/spamassassin
/var/log/mail/fetchmail  {
        weekly
}
/var/log/udev.log {
        weekly
}
/var/log/news/news {
        daily
        delaycompress 
        olddir /var/log/news/OLD
        postrotate
                ctlinnd flushlogs
        endscript
}
/var/log/news/news.err
/var/log/news/news.notice
/var/log/news/expire.log { 
        olddir /var/log/news/OLD
}
/var/log/bind9/*.log {
        postrotate
        /etc/init.d/bind9 reload > /dev/null
        endscript
}


-- debconf-show failed

--- End Message ---
--- Begin Message ---
The logrotate(8) mapage says:

    mailfirst
        When using the mail command, mail the just-rotated file,
instead of the about-to-expire file.
    maillast
        When using the mail command, mail the about-to-expire file,
instead of the just-rotated file (this is the default).

So you might want to use "mailfirst".

Best regards,
      Christian Göttsche

--- End Message ---

Reply via email to