[debian-mysql] mariadb.service: ProtectHome=true => false while updating ???

Otto Kekäläinen otto at debian.org
Wed Mar 19 19:49:30 GMT 2025


Hi!

> Hi,
>
> As described here (in french but with some bash outputs) : https://forum-debian.fr/viewtopic.php?t=3539, my mariadb server has failed to restart after an InnoDB subprocess.
>
> Mariadb datas are stored in /home/mysql (as described here: https://medium.com/@benjamin.dedardel/installing-mariadb-in-linux-debian-with-custom-data-directory-home-mysql-ccb45b273b63).
>
> Maybe mariadb.service has been changed while updating ??? (ProtectHome=true => false).

You should avoid editing the MariaDB service file directly in
/etc/systemd/system/multi-user.target.wants/. Instead, create a
systemd override file using the `systemctl edit` command.

When the package updates, the files from the package may update too.



More information about the pkg-mysql-maint mailing list