Public bug reported:

On Ubuntu 24.04 systems, the MariaDB service frequently remains stopped after 
unattended-upgrades,  also when library packages (libc6, libssl, libgnutls, 
systemd-libs, etc.) are upgraded.
During the automated update process, MariaDB is stopped by dpkg, but its 
restart frequently fails causing a full database outage until a manual 
systemctl start mariadb is executed.
This happens even though unattended-upgrades reports no critical error, and the 
system continues normally with MariaDB silently down.
A very similar issue is documented in MariaDB's own official documentation:

“MariaDB service takes too long to start, triggering a timeout… dpkg fails… the 
server may be left not configured or stopped.”
 [serverfault.com]

Additionally, MariaDB filed an upstream bug showing the service shutting
down normally during auto updates and then crashing or timing out when
restarted automatically on Ubuntu 24.04:

“MariaDB Crashes during auto updates on Ubuntu 24.04” (MDEV‑36505)
 [support.zabbix.com]

Together these sources confirm that this issue is reproducible and not isolated.
Is there any fix that can be delivered by Ubuntu in order to avoid this?

** Affects: needrestart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mariadb unattended-upgrades

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

Title:
  MariaDB service fails to restart after unattended-upgrades

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/2140308/+subscriptions


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

Reply via email to