Hello, Arjen. I could reproduce the error but this doesn't look like a problem in logrotate to me. According to [0], the normal search path is: /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf /.my.cnf and your file is located in /root. Could you check if moving the my.cnf file to one of the search directories solves your issue? [0] https://mariadb.com/kb/en/library/configuring-mariadb-with-mycnf/