File mariadb-10.0.15-logrotate-su.patch of Package mariadb
18
1
PATCH-P0-SUSE: Fix for logrorate config
2
3
This patch fixes the logrotarte config file for mariadb.
4
Read more at https://www.novell.com/support/kb/doc.php?id=7005219
5
6
Index: support-files/mysql-log-rotate.sh
7
===================================================================
8
--- support-files/mysql-log-rotate.sh.orig
9
+++ support-files/mysql-log-rotate.sh
10
11
12
/var/log/mysql/mysqld.log {
13
# create 600 mysql mysql
14
+ su mysql mysql
15
notifempty
16
daily
17
rotate 3
18