Created attachment 221084 [details]
A patch to make service_startup_timeout configurable from rc.conf
The port of mysqlwsrep57-server contains a hardcoded startup timeout value of 900 seconds. This timeout value should be configurable.
At least one use case has been identified here https://github.com/codership/mysql-wsrep/issues/380:
"In some scenarios it is desirable to set this value to 0 to make sure the script does not hold up system startup. This is particularly important when running in a FreeBSD jail(8) along with other jails that are started sequentially. Jail startup is not considered complete until rc(8) finishes, holding up the starting of other jails on the same system. Specifically, if all nodes in a Galera cluster are running in jails on the same system, the cluster may never recover after a restart if the first instance to start up requires SST."
A patch has been devised and is attached to this ticket.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/240794955
A commit references this bug:
Date: Sun Jan 17 18:52:07 UTC 2021
New revision: 561860
databases/mysqlwsrep57-server Make service_startup_timeout configurable
Submitted by: firstname.lastname@example.org
Approved by: maintainer timeout (email@example.com, >2 weeks)