File mariadb-10.0.15-logrotate-su.patch of Package mariadb.9545

PATCH-P0-SUSE: Fix for logrorate config

This patch fixes the logrotarte config file for mariadb.
Read more at https://www.novell.com/support/kb/doc.php?id=7005219

Index: support-files/mysql-log-rotate.sh
===================================================================
--- support-files/mysql-log-rotate.sh.orig
+++ support-files/mysql-log-rotate.sh
@@ -20,6 +20,7 @@
 
 /var/log/mysql/*.log {
         # create 600 mysql mysql
+        su mysql mysql
         notifempty
 	daily
         rotate 3