Bug#351635: logrotate: First run on wildcard logfiles fails
Op maandag 6 februari 2006 14:04, schreef u: Could you show me the configuration file you're using, please? Sure, here is the block: - /var/log/apache/virtual/* { rotate 7 daily dateext compress sharedscripts olddir /var/log/apache/virtual/old prerotate /var/log/apache/webalizer.pl 21 /dev/null endscript } - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#351635: logrotate: First run on wildcard logfiles fails
Package: logrotate Version: 3.7.1-2 Severity: important When running on * in a directory, it will claim that there is no rotation needed, even when it is. Until the logfile is explicitly mentioned in the state file. So the first run has to be done with -f to list them all in the state file, after that all is fine. -- Package-specific info: Contents of /etc/logrotate.d total 72 -rw-r--r-- 1 root root 200 2006-02-06 11:34 apache.virtuals -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-bs1 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages logrotate depends on: ii base-passwd 3.5.11 Debian base system master password ii cron 3.0pl1-92 management of regular background p ii libc6 2.3.5-8GNU C Library: Shared libraries an ii libpopt0 1.7-5 lib for parsing cmdline parameters ii libselinux1 1.28-2 SELinux shared libraries Versions of packages logrotate recommends: pn mailx none (no description available) -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#351635: logrotate: First run on wildcard logfiles fails
On Mon, Feb 06, 2006 at 11:55:18AM +0100, Tom Albers wrote: When running on * in a directory, it will claim that there is no rotation needed, even when it is. Until the logfile is explicitly mentioned in the state file. So the first run has to be done with -f to list them all in the state file, after that all is fine. Could you show me the configuration file you're using, please? -- Paul Martin [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]