Comment 1 for bug 1850980

Revision history for this message
Gargoyle (g-rgoyle) wrote :

I've crated a merge request to improve the postrotate script to more accurately detect the difference between mysqld not running and a problem with the configured debian-sys-maint config:-

https://salsa.debian.org/mariadb-team/mysql/merge_requests/29

This will prevent the logrotate service from reporting a startup failure during boot if mysqld is not read to accept connections at the time the postrotate script is run.

However, it will not prevent the potential situation where log files have been rotated but "mysqladmin flush-logs" is not called (because the postrotate script thinks mysqld is not running).