Package: logrotate
Version: 3.7.8-6
Severity: normal

Hi,

Logrotate fails if the log dir doesn't exist, which might happen if the package 
is uninstalled.
I'm not sure what the right solution is.

Greetings,

Olaf

http://piuparts.debian.org/sid/fail/lighttpd_1.4.26-3.log

# rm -r /var/log/lighttpd

# logrotate /etc/logrotate.d/lighttpd
error: error accessing /var/log/lighttpd: No such file or directory
error: /etc/logrotate.d/lighttpd:1 glob failed for /var/log/lighttpd/*.log
error: found error in /var/log/lighttpd/*.log , skipping

-- Package-specific info:
Contents of /etc/logrotate.d
total 48
-rw-r--r-- 1 root root 293 Mar 10 21:12 apache2
-rw-r--r-- 1 root root  84 Feb  8  2009 apt
-rw-r--r-- 1 root root  79 Dec  5  2008 aptitude
-rw-r--r-- 1 root root 112 Jan  8 19:14 dpkg
-rw-r--r-- 1 root root 146 Sep 30  2008 exim4-base
-rw-r--r-- 1 root root 126 Sep 30  2008 exim4-paniclog
-rw-r--r-- 1 root root 151 Sep 29  2007 iptraf
-rw-r--r-- 1 root root 418 May 23 11:39 lighttpd
-rw-r--r-- 1 root root 532 May 21 01:09 lighttpd.dpkg-old
-rw-r--r-- 1 root root 837 Mar 18 16:10 mysql-server
-rw-r--r-- 1 root root 515 Feb  8  2009 rsyslog
-rw-r--r-- 1 root root 330 Jan  8  2009 samba


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'unstable')
Architecture: i386 (i686)

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

Versions of packages logrotate depends on:
ii  base-passwd                   3.5.22     Debian base system master password
ii  cron                          3.0pl1-113 process scheduling daemon
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libpopt0                      1.16-1     lib for parsing cmdline parameters
ii  libselinux1                   2.0.94-1   SELinux runtime shared libraries

Versions of packages logrotate recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  mailx              1:20071201-3          Transitional package for mailx ren

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