Package: debianutils Version: 2.17 Severity: normal File: /usr/bin/savelog I use
savelog -q -d -j -g adm -m 640 -u root -c 1825 /var/log/mail.log to rotate log files in /etc/cron.daily/sysklogd. I get the following errors: /etc/cron.daily/sysklogd: bzip2: Input file /var/log//mail.log.20080430070724.bz2 already has .bz2 suffix. bzip2: Input file /var/log//mail.log.20080501065412.bz2 already has .bz2 suffix. [...] This is because .bz2 ends with e digit (2). The included patch fixes it for me. thanks, Marcello Nuccio *** savelog-bzip2.patch --- /usr/bin/savelog.orig 2006-07-25 20:04:28.000000000 +0200 +++ /usr/bin/savelog 2008-05-06 12:54:27.000000000 +0200 @@ -249,7 +249,7 @@ while [ $# -gt 0 ]; do # compress the old uncompressed log if needed if test -n "$datum" && test -n "$COMPRESS"; then - $COMPRESS -- "$newname".[0-9]*[0-9] + $COMPRESS -- "$newname".*[0-9][0-9] fi # remove old files if so desired -- 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-6-686 Locale: LANG=it_IT, LC_CTYPE=it_IT (charmap=ISO-8859-1) Versions of packages debianutils depends on: ii coreutils 5.97-5.3 The GNU core utilities ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii mktemp 1.5-2 Makes unique filenames for tempora debianutils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]