[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2024-09-06 Thread Lena Voytek
Overall the patch provided in Debian salsa[1] seems like the best option when looking over possible fixes. I created a PPA[2] using it if you would like to test. To do so you can run: sudo add-apt-repository ppa:lvoytek/mysql-fix-logrotate sudo apt update sudo apt upgrade [1] https://salsa.debia

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2024-09-05 Thread Lena Voytek
Hi Richard, thank you for bumping this issue. It has been in the backlog for far too long. I am now working on a solution for this by properly installing MySQL's current logrotate script. I will let you know when it is ready for testing on 24.04. Thanks! ** Changed in: mysql-8.0 (Ubuntu) S

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2024-09-05 Thread Richard Persen
Hi all. Any update on this issue? I get the exact same errors on Kubuntu 24.04 with mysql-server 8. When booting I get the message "[FAILURE] Logrotate service failed to start". If I check the syslog I find the exact same error-messages as reported here: error: error running shared postrotate scr

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2019-11-08 Thread Christian Ehrhardt 
It has a /etc/cron.daily/logrotate that exits early in favor of the systemd timer if systemd is present. And the timer looks normal to me: Sat 2019-11-09 00:00:00 UTC 15h left Fri 2019-11-08 00:00:30 UTC 8h ago logrotate.timer logrotate.service It is using: OnCalendar=

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2019-11-07 Thread Gargoyle
Thanks for the feedback, Andreas. If the logrotate service is ONLY supposed to be triggered via the timer, then that could be a separate bug as it is definitely running on every boot on my 19.10 install. I took the exit status of the ping command from the man page for mysqladmin and also performe

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2019-11-06 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu, and for your troubleshooting and the debian MR. The logrotate systemd service is actually triggered by a timer, and not by a reboot specifically. You can view when it last run, and when it will run, with the command "systemctl list-timers". Regarding your tro

[Bug 1850980] Re: mysql-server causes logrotate.service to fail at boot

2019-11-01 Thread Gargoyle
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 r