The garbd options are semicolon separated key value pairs. The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1") The variable garb_galera_options need to be quoted in command line. I've fixed it with the following changes --- garb.sh.in.orig 2019-03-26 11:08:18.383489000 +1100 +++ garb.sh.in 2019-03-26 11:07:20.345938000 +1100 @@ -71,7 +71,7 @@ command_args="$command_args -a gcomm://$ADDRESS" [ -n "$garb_galera_group" ] && command_args="$command_args -g $garb_galera_group" - [ -n "$garb_galera_options" ] && command_args="$command_args -o $garb_galera_options" + [ -n "$garb_galera_options" ] && command_args="$command_args -o '$garb_galera_options'" [ -n "$garb_log_file" ] && command_args="$command_args -l $garb_log_file" return 0 }
Maintainer informed via mail
I can confirm this issue. When using the semicolon separated syntax for garb_galera_options, the following error will be shown: # service garb start Starting garb. eval: gcs.fc_factor=0.99: not found eval: gcs.fc_master_slave=YES: not found eval: evs.keepalive_period=PT1S: not found eval: evs.suspect_timeout=PT1M: not found The proposed fix is working for me. I've attached patches for both ports databases/galera and databases/galera26.
Created attachment 211585 [details] patch for databases/galera
Created attachment 211586 [details] patch for databases/galera26
Bugzilla was unable to make any match at all for one or more of the names and/or email addresses you entered on the previous page. Please go back and try other names or email addresses. CC: devel@galeracluster.com did not match anything send him a private eMail for feedback
@Maintainer (Teemu) Could you please update either the galera port MAINTAINER lines to match Bugzilla account email address, or create a Bugzilla account (or update the current bugzilla account email) with the current MAINTAINER value. This ensures that our AutoAssigner can correctly notify maintainers for new issues for ports they maintain
(In reply to Kubilay Kocak from comment #6) Done
A commit references this bug: Author: joneum Date: Thu Jul 9 12:50:45 UTC 2020 New revision: 541747 URL: https://svnweb.freebsd.org/changeset/ports/541747 Log: The garbd options are semicolon separated key value pairs. The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1") The variable garb_galera_options need to be quoted in command line. PR: 236795 Reported by: TAO ZHOU <zhoutao@laocius.org> Approved by: devel@galeracluster.com (maintainer) Sponsored by: Netzkommune GmbH Changes: head/databases/galera/files/garb.sh.in
A commit references this bug: Author: joneum Date: Thu Jul 9 14:07:17 UTC 2020 New revision: 541752 URL: https://svnweb.freebsd.org/changeset/ports/541752 Log: The garbd options are semicolon separated key value pairs. The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1") The variable garb_galera_options need to be quoted in command line. PR: 236795 Reported by: TAO ZHOU <zhoutao@laocius.org> Approved by: devel@galeracluster.com (maintainer) Sponsored by: Netzkommune GmbH Changes: head/databases/galera26/files/garb.sh.in
A commit references this bug: Author: joneum Date: Thu Jul 9 21:59:54 UTC 2020 New revision: 541828 URL: https://svnweb.freebsd.org/changeset/ports/541828 Log: MFH: r541747 The garbd options are semicolon separated key value pairs. The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1") The variable garb_galera_options need to be quoted in command line. PR: 236795 Reported by: TAO ZHOU <zhoutao@laocius.org> Approved by: devel@galeracluster.com (maintainer) Sponsored by: Netzkommune GmbH Approved by: ports-secteam (with hat) Changes: _U branches/2020Q3/ branches/2020Q3/databases/galera/files/garb.sh.in
A commit references this bug: Author: joneum Date: Thu Jul 9 22:00:50 UTC 2020 New revision: 541829 URL: https://svnweb.freebsd.org/changeset/ports/541829 Log: MFH: r541752 The garbd options are semicolon separated key value pairs. The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1") The variable garb_galera_options need to be quoted in command line. PR: 236795 Reported by: TAO ZHOU <zhoutao@laocius.org> Approved by: devel@galeracluster.com (maintainer) Sponsored by: Netzkommune GmbH Approved by: ports-secteam (with hat) Changes: _U branches/2020Q3/ branches/2020Q3/databases/galera26/files/garb.sh.in