Package: logrotate
Version: 3.7.1-3
Severity: important
Tags: patch

In some older version of logrotate to the executed script was given
prcessed log file name as argument. After applying 01-rh-noTMPDIR patch
this argument dissapiered, and for example this type of postrotate script
does not work:
rm -f $1.1; \
ln -s $1-`date +%Y%m%d` $1.1
I sugest to modify 01-rh-noTMPDIR patch, or to skip it and to add part of
42-execlp-bin-sh from logrotate-3.7.0-5 from sarge.


-- Package-specific info:
Contents of /etc/logrotate.d
total 68
-rw-r--r--  1 root root  453 Sep 29 19:42 apache
-rw-r--r--  1 root root   79 Jun  9  2003 aptitude
-rw-r--r--  1 root root  290 Jan 29  2005 asterisk
-rw-r--r--  1 root root  384 Dec 23  2003 base-config
-rw-r--r--  1 root root  209 Jul  4 15:51 clamav-daemon
-rw-r--r--  1 root root  215 Jul  1 13:46 clamav-freshclam
-rw-r--r--  1 root root  170 Mar  2  2005 exim4-base
-rw-r--r--  1 root root  139 May  5 00:09 horde3
-rw-r--r--  1 root root  151 Nov 11  2002 iptraf
-rw-r--r--  1 root root  226 Mar 18  2003 kannel-devel
-rw-r--r--  1 root root 1272 Feb 16  2005 mailman
-rw-r--r--  1 root root   74 May 16  2003 mrtg
-rw-r--r--  1 root root  432 Feb 21  2005 munin
-rw-r--r--  1 root root  119 Feb  5  2004 munin-node
-rw-r--r--  1 root root 1072 Aug 19 19:42 mysql-server
-rw-r--r--  1 root root  879 Sep 29 21:33 rez
-rw-r--r--  1 root root  301 Jul  4  2002 squid


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages logrotate depends on:
ii  base-passwd                 3.5.9        Debian base system master password
ii  cron                        3.0pl1-86    management of regular background p
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters

-- no debconf information

Attachment: 42-execlp-bin-sh.dpatch
Description: application/shellscript

Reply via email to