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

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/mysqld.log {
         # create 600 mysql mysql
+        su mysql mysql
         notifempty
 	daily
         rotate 3
openSUSE Build Service is sponsored by