From dc34413ab6bbf32bcaeaca6437534285981909c2 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Feb 2012 19:26:38 +0100 Subject: MySQL : sync with latest rawhide changes --- mysql-logrotate.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 mysql-logrotate.patch (limited to 'mysql-logrotate.patch') diff --git a/mysql-logrotate.patch b/mysql-logrotate.patch new file mode 100644 index 0000000..dd8742a --- /dev/null +++ b/mysql-logrotate.patch @@ -0,0 +1,25 @@ +Adjust the mysql-log-rotate script to contain the correct log file +name for Red Hat installations. + + +diff -Naur mysql-5.5.20.orig/support-files/mysql-log-rotate.sh mysql-5.5.20/support-files/mysql-log-rotate.sh +--- mysql-5.5.20.orig/support-files/mysql-log-rotate.sh 2011-12-16 14:52:06.000000000 -0500 ++++ mysql-5.5.20/support-files/mysql-log-rotate.sh 2012-01-26 23:24:54.402676177 -0500 +@@ -3,7 +3,7 @@ + # in the [safe_mysqld] section as follows: + # + # [safe_mysqld] +-# err-log=@localstatedir@/mysqld.log ++# err-log=/var/log/mysqld.log + # + # If the root user has a password you have to create a + # /root/.my.cnf configuration file with the following +@@ -18,7 +18,7 @@ + # ATTENTION: This /root/.my.cnf should be readable ONLY + # for root ! + +-@localstatedir@/mysqld.log { ++/var/log/mysqld.log { + # create 600 mysql mysql + notifempty + daily -- cgit