Package: mysql-server Severity: wishlist Tags: patch
In /etc/cron.daily/mysql-server the configuration file /etc/mysql/debian-log-rotation.conf is sourced. If the file doesn't exist or isn't readeable for any reason an error is generated. We could check for file existence / readability to solve this. Here is a simple example... --- /etc/cron.daily/mysql-server 2005-03-31 04:34:35.000000000 +0200 +++ /tmp/mysql-server 2005-05-13 10:35:42.524485304 +0200 @@ -23,7 +23,7 @@ test -x /usr/bin/mysqladmin || exit 0 # Read config and see if we should rotate at all. -. /etc/mysql/debian-log-rotate.conf +[ -r /etc/mysql/debian-log-rotate.conf ] && . /etc/mysql/debian-log-rotate.conf if [ "$KEEP_BINARY_LOGS" -eq 0 ]; then my_exit 0 fi -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11-1-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages mysql-server depends on: ii adduser 3.63 Add and remove users and groups ii debconf 1.4.49 Debian configuration management sy ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libdbi-perl 1.46-6 Perl5 database interface by Tim Bu ii libgcc1 1:3.4.3-13 GCC support library ii libmysqlclient12 4.0.24-8 mysql database client library ii libssl0.9.7 0.9.7g-1 SSL shared libraries ii libstdc++5 1:3.3.6-4 The GNU Standard C++ Library v3 ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra ii mysql-client 4.0.24-8 mysql database client binaries ii passwd 1:4.0.3-34 change and administer password and ii perl 5.8.4-8 Larry Wall's Practical Extraction ii psmisc 21.6-1 Utilities that use the proc filesy ii zlib1g 1:1.2.2-4 compression library - runtime -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]