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"
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
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.
firstname.lastname@example.org 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)