[debian-mysql] Bug#1073847: Bug#1073847: Systemd: Fails to restart after OOM
Otto Kekäläinen
otto at debian.org
Tue Nov 5 04:41:34 GMT 2024
Hi,
On Wed, 19 Jun 2024 at 11:15, Sam Bull <bugs-debian at sambull.org> wrote:
>
> Package: mariadb-server
> Version: 1:10.11.6-0+deb12u1
> Severity: important
>
> Dear Maintainer,
>
> After an OOM kill, the process is not restarted by systemd.
>
> In the service file is:
> Restart=on-abort
>
> I believe this should be:
> Restart=on-abnormal
>
> The comment in the file says it doesn't use on-failure in case of config errors, which I assume is caused by an unclean exit code. on-abnormal is the same as on-failure except for unclean exit code.
Thanks for reporting.
In Debian we do not have any plans to deviate from upstream systemd
file. If you report this upstream (or better, send them a Pull Request
with the change) and they accept it, we could backport that to Debian.
More information about the pkg-mysql-maint
mailing list