[debian-mysql] Bug#622119: mysql-server: logrotatescript fails, nothing to do

muFFin idiot at lumat.at
Sun Apr 10 11:39:42 UTC 2011


Package: mysql-server
Version: 5.1.49-3
Severity: minor



-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mysql-server depends on:
ii  mysql-server-5.1              5.1.49-3   MySQL database server binaries and

mysql-server recommends no packages.

mysql-server suggests no packages.

-- no debconf information

Hello,

logrotate fails because of:

:/etc/logrotate.d# logrotate -d mysql-server 
reading config file mysql-server
reading config info for /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log 

Handling 1 logs

rotating pattern: /var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log  after 1 days (7 rotations)
empty log files are rotated, old logs are removed
considering log /var/log/mysql.log
  log /var/log/mysql.log does not exist -- skipping
considering log /var/log/mysql/mysql.log
  log /var/log/mysql/mysql.log does not exist -- skipping
considering log /var/log/mysql/mysql-slow.log
  log /var/log/mysql/mysql-slow.log does not exist -- skipping
not running postrotate script, since no logs were rotated

Would it possible to make this return positive?





More information about the pkg-mysql-maint mailing list