noble verification:

root@noble-logrotate:~# apt list mysql-server --installed
Listing... Done
mysql-server/noble-proposed,now 8.0.43-0ubuntu0.24.04.2 all [installed]
N: There are 2 additional versions. Please use the '-a' switch to see them.

root@noble-logrotate:~#  systemctl stop mysql.service

root@noble-logrotate:~# systemctl status mysql.service
○ mysql.service - MySQL Community Server
     Loaded: loaded (/usr/lib/systemd/system/mysql.service; enabled; preset: 
enabled)
     Active: inactive (dead) since Tue 2025-09-09 07:38:33 UTC; 7s ago
   Duration: 2d 7h 7min 8.709s
    Process: 226363 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre 
(code=exited, status=0/SUCCESS)
    Process: 226386 ExecStart=/usr/sbin/mysqld (code=exited, status=0/SUCCESS)
   Main PID: 226386 (code=exited, status=0/SUCCESS)
     Status: "Server shutdown complete"
        CPU: 3min 50.252s

Sep 07 00:31:21 noble-logrotate systemd[1]: Starting mysql.service - MySQL 
Community Server...
Sep 07 00:31:22 noble-logrotate systemd[1]: Started mysql.service - MySQL 
Community Server.
Sep 09 07:38:31 noble-logrotate systemd[1]: Stopping mysql.service - MySQL 
Community Server...
Sep 09 07:38:33 noble-logrotate systemd[1]: mysql.service: Deactivated 
successfully.
Sep 09 07:38:33 noble-logrotate systemd[1]: Stopped mysql.service - MySQL 
Community Server.
Sep 09 07:38:33 noble-logrotate systemd[1]: mysql.service: Consumed 3min 
50.252s CPU time.

root@noble-logrotate:~# sudo logrotate -f /etc/logrotate.conf

root@noble-logrotate:~# echo $?
0

This confirms that noble is working as expected after this patch!

** Tags removed: verification-needed-noble
** Tags added: verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120936

Title:
  logrotate returns an error if mysql service is disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/2120936/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to