Selbes verhalten wie hier zu sehen.
Probiere mal folgendes
# erstmal probleme aus der welt schaffen
systemctl reset-failed
# nun editieren wir den dienst
systemctl edit mariadb.service
Hier in dem editor schreibst du dann folgendes in den Bereich der nicht mit # beginnt
[Service]
TimeoutSec=infinity
Speicherst das und zur kontrolle schaust du auch noch mal nach ob es angenommen worden ist mittels
systemctl cat mariadb.service
was dir dann ganz unten sowas anzeigen müsste
# /etc/systemd/system/mariadb.service.d/override.conf
[Service]
TimeoutSec=infinity
Und jetzt probierst du noch mal den dienst zu starten mittels
systemctl start mariab.service
Wenn das nun länger braucht und irgendwann fertig wird ohne fehler hat es geklappt und du kannst mittels
systemctl revert mariadb.service
den dienst wieder auf seine standard-einstellungen zurücksetzen und dann würde ich einen reboot empfehlen.