[Pkg-mailman-hackers] Bug#1030156: mailman3 starts before local mariadb

Paolo Miotto paolo.miotto at uniud.it
Tue Jan 31 17:06:16 GMT 2023


Package: mailman3

Version: 3.3.3-1

Severity: important


Dear Maintainer,


on bullseye mailman3 fails to start at boot when mailman3 is configured 
to use a local mariadb database, because systemd starts mailman3 before 
mariadb.

I have a feeling the same could happen with postgresql.


I temporarily fixed this by adding these lines

> Wants=mariadb.service
 > After=mariadb.service

in the [Unit] section of /lib/systemd/system/mailman3.service, but this 
is not safe in case of upgrades.


I understand that these lines cannot be added indiscriminately in the 
unit file, but I'm not a systemd expert and my attempts to use systemctl 
--add-wants and systemctl --add-requires have not achieved the desired 
results.


As a MySQL or a PostgreSQL database is recommended instead of SQLite3, 
it would be nice to have at least a notice on this in the README.debian, 
better along with a solution effective in case of an upgrade.



Regards.


Paolo



More information about the Pkg-mailman-hackers mailing list