Created attachment 250278 [details] Patch for zabbix_server.in When using zabbix64-server with MariaDB, rc.d/zabbix_server does not contain "REQUIRE: mysql". Therefore, when shutting down the host, mysql stops before zabbix_server and prevents zabbix_server from stopping.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d83b1839c8ffae135c4094e3a49a26cd133c874 commit 9d83b1839c8ffae135c4094e3a49a26cd133c874 Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2024-04-29 13:55:53 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2024-04-29 14:03:37 +0000 net-mgmt/zabbix64-server: Make service depend on mysql service When using zabbix64-server with MariaDB, rc.d/zabbix_server does not contain "REQUIRE: mysql". Therefore, when shutting down the host, mysql stops before zabbix_server and prevents zabbix_server from stopping. Fix this also for MYSQLDV option and also for zabbix64-proxy in addition to zabbix64-server. PR: 278629 net-mgmt/zabbix64-server/Makefile | 2 +- net-mgmt/zabbix64-server/files/zabbix_proxy.in | 3 +++ net-mgmt/zabbix64-server/files/zabbix_server.in | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=df6ff2da571f4661591a83ba364c0d94bd3146af commit df6ff2da571f4661591a83ba364c0d94bd3146af Author: Juraj Lutter <otis@FreeBSD.org> AuthorDate: 2024-04-29 14:00:21 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2024-04-29 14:03:37 +0000 net-mgmt/zabbix6-server: Make service depend on mysql service When using zabbix6-server with MariaDB, rc.d/zabbix_server does not contain "REQUIRE: mysql". Therefore, when shutting down the host, mysql stops before zabbix_server and prevents zabbix_server from stopping. Fix this also for MYSQLDV option and also for zabbix6-proxy in addition to zabbix6-server. PR: 278629 net-mgmt/zabbix6-server/files/zabbix_proxy.in | 3 +++ net-mgmt/zabbix6-server/files/zabbix_server.in | 3 +++ 2 files changed, 6 insertions(+)
Committed, thanks.