Package: logrotate
Version: 3.8.1-4
Severity: normal
Under the include directive, logrotate(8) says:
"The only files which are ignored are files which are not regular files
(such as directories and named pipes) and files whose names end with one
of the taboo extensions, as specified by the tabooext directive."
This is not true. It would appear that files are also ignored because of
some unspecified "bad" file modes, which include being group writeable.
Unfortunately logrotate does not mention that it is ignoring these files
unless it is especially run in verbose mode, which makes tracking down
this problem more difficult. Other configuration errors usually generate
notification emails.
Thanks,
Roger
-- Package-specific info:
Contents of /etc/logrotate.d
total 96
-rw-r--r-- 1 root root 173 Jun 29 13:31 apt
-rw-r--r-- 1 root root 79 Jun 9 11:14 aptitude
-rw-r--r-- 1 root root 215 Oct 27 2010 checksecurity
-rw-r--r-- 1 root root 209 Oct 11 20:20 clamav-daemon
-rw-r--r-- 1 root root 230 Oct 11 20:20 clamav-freshclam
-rw-r--r-- 1 root root 232 Jun 17 10:05 dpkg
-rw-r--r-- 1 root root 147 Aug 26 01:21 exim4-base
-rw-r--r-- 1 root root 146 Jun 23 18:16 exim4-base.dist
-rw-r--r-- 1 root root 146 Jun 23 18:16 exim4-base~
-rw-r--r-- 1 root root 126 Jun 23 18:16 exim4-paniclog
-rw-r--r-- 1 root root 150 Oct 16 17:04 local
-rw-rw-r-- 1 root root 142 Oct 16 17:00 local~
-rw-r--r-- 1 root root 356 Aug 4 17:17 nginx
-rw-r--r-- 1 root root 94 Jun 22 22:44 ppp
-rw-r--r-- 1 root root 88 Nov 15 2011 razor
-rw-r--r-- 1 root root 536 Oct 16 17:02 rsyslog
-rw-r--r-- 1 root root 515 Jun 9 20:54 rsyslog.dist
-rw-r--r-- 1 root root 517 Aug 26 01:20 rsyslog~
-rw-r--r-- 1 root root 322 Aug 5 18:07 samba
-rw-r--r-- 1 root root 108 Jul 3 00:31 shorewall
-rw-r--r-- 1 root root 85 Jul 3 00:29 shorewall-init
-rw-r--r-- 1 root root 109 Jul 3 00:32 shorewall6
-rw-r--r-- 1 root root 298 Jun 3 19:38 stunnel4
-rw-r--r-- 1 root root 148 Jun 9 21:45 ulogd
-- System Information:
Debian Release: wheezy/sid
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'),
(500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages logrotate depends on:
ii base-passwd 3.5.26
ii cron [cron-daemon] 3.0pl1-124
ii libc6 2.13-35
ii libpopt01.16-7
ii libselinux1 2.1.9-5
Versions of packages logrotate recommends:
ii bsd-mailx [mailx] 8.1.2-0.2006cvs-1
logrotate suggests no packages.
-- Configuration Files:
/etc/logrotate.conf changed:
weekly
rotate 4
create
tabooext + .dist
include /etc/logrotate.d
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org