Package: logrotate
Version: 3.7.1-5
Severity: normal

My root partition containing /var/log is often nearly saturated, so I tried to 
move old rotated logs to another bigger partition using olddir parameter.
But I get an error :
error: syslog-ng:61 olddir /home/mail and log file /var/log/mail.log are on 
different devices

As the only way to free some space on a nearly full device, is to move some 
datas on another device, logrotate should allow to put old logs on another 
partition.

Furthermore logrotate stops and exits as soon as it throw out this error so the 
other logs which could be rotated on the same device aren't rotated at all, 
so the partition containing /var/log is even more saturated.

-- Package-specific info:
Contents of /etc/logrotate.d
total 76
-rw-r--r-- 1 root root  303 jui 17  2009 apache2
-rw-r--r-- 1 root root  382 mar  4  2007 apache-ssl
-rw-r--r-- 1 root root   84 fév  8  2009 apt
-rw-r--r-- 1 root root   79 mar 14  2007 aptitude
-rw-r--r-- 1 root root  123 mai  6  2008 cacti
-rw-r--r-- 1 root root  215 jui 28  2008 checksecurity
-rw-r--r-- 1 root root  209 avr 28  2008 clamav-daemon
-rw-r--r-- 1 root root  230 mai  3 09:28 clamav-freshclam
-rw-r--r-- 1 root root  111 jan  2  2007 dpkg
-rw-r--r-- 1 root root  201 déc 11  2006 fail2ban
-rw-r--r-- 1 root root  151 oct 15  2006 iptraf
-rw-r--r-- 1 root root  368 jui 17  2009 munin
-rw-r--r-- 1 root root  813 mar 18  2009 mysql-server
-rw-r--r-- 1 root root  666 sep  5  2008 ocsinventory-agent
-rw-r--r-- 1 root root  697 jui 29  2008 ocsinventory-server
-rw-r--r-- 1 root root  224 jan 27  2009 proftpd
-rw-r--r-- 1 root root   88 jui 23  2008 razor
-rw-r--r-- 1 root root   68 fév 16  2007 scrollkeeper
-rw-r--r-- 1 root root 1111 jun  1 12:23 syslog-ng


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages logrotate depends on:
ii  base-passwd                 3.5.20       Debian base system master password
ii  cron                        3.0pl1-105   management of regular background p
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries
ii  libpopt0                    1.14-4       lib for parsing cmdline parameters
ii  libselinux1                 2.0.65-5     SELinux shared libraries

Versions of packages logrotate recommends:
ii  mailutils [mailx]          1:1.2+dfsg1-4 GNU mailutils utilities for handli

logrotate suggests no packages.

-- 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

Reply via email to