diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-02-14 19:26:38 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-02-14 19:26:38 +0100 |
commit | dc34413ab6bbf32bcaeaca6437534285981909c2 (patch) | |
tree | 552191503d1c4877c8d37f63403f6203c6b27958 /mysql-logrotate.patch | |
parent | 88b4a0650e983b0437b0554b1799dc5c44f613c7 (diff) |
MySQL : sync with latest rawhide changes
Diffstat (limited to 'mysql-logrotate.patch')
-rw-r--r-- | mysql-logrotate.patch | 25 |
1 files changed, 25 insertions, 0 deletions
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 |